Bug fix
This commit is contained in:
parent
3191ae51b0
commit
52a7f94fd0
|
@ -171,6 +171,8 @@ def check_catalog(entity, catalog):
|
||||||
html = get_catalog_page(property_id, value)
|
html = get_catalog_page(property_id, value)
|
||||||
except (requests.exceptions.ConnectionError, requests.exceptions.SSLError):
|
except (requests.exceptions.ConnectionError, requests.exceptions.SSLError):
|
||||||
continue # ignore this error
|
continue # ignore this error
|
||||||
|
if not html:
|
||||||
|
continue
|
||||||
description = get_description_from_page(html)
|
description = get_description_from_page(html)
|
||||||
if not description:
|
if not description:
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue