diff --git a/depicts/wd_catalog.py b/depicts/wd_catalog.py index 4ece4ea..5b2fe7b 100644 --- a/depicts/wd_catalog.py +++ b/depicts/wd_catalog.py @@ -171,6 +171,8 @@ def check_catalog(entity, catalog): html = get_catalog_page(property_id, value) except (requests.exceptions.ConnectionError, requests.exceptions.SSLError): continue # ignore this error + if not html: + continue description = get_description_from_page(html) if not description: continue