Implement logging #2
@ -63,6 +63,9 @@ def main():
 | 
			
		||||
    for url in URLS:
 | 
			
		||||
        html = get_url(url)
 | 
			
		||||
 | 
			
		||||
        if not html:
 | 
			
		||||
            continue
 | 
			
		||||
 | 
			
		||||
        packages = get_packages(html)
 | 
			
		||||
        for package in packages:
 | 
			
		||||
            if package['qty'] > 0:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user