Add continue when None returned from get_url

This commit is contained in:
agatha 2023-12-02 16:38:34 -05:00
parent 78763a173b
commit 98884d4c29

View File

@ -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: