Implement logging #2

Merged
agatha merged 2 commits from dev-logging into master 2023-12-02 21:40:23 +00:00
Showing only changes of commit 98884d4c29 - Show all commits

View File

@ -63,6 +63,9 @@ def main():
for url in URLS: for url in URLS:
html = get_url(url) html = get_url(url)
if not html:
continue
packages = get_packages(html) packages = get_packages(html)
for package in packages: for package in packages:
if package['qty'] > 0: if package['qty'] > 0: