Ignore requests.exceptions.TooManyRedirects for catalog page

This commit is contained in:
Edward Betts 2020-06-30 14:00:59 +01:00
parent 98d84054d6
commit 117459bb8f

View file

@ -206,7 +206,8 @@ def get_catalog_from_artwork(entity):
check_catalog(entity, catalog)
except (requests.exceptions.ReadTimeout,
requests.exceptions.ConnectTimeout,
requests.exceptions.ConnectionError):
requests.exceptions.ConnectionError,
requests.exceptions.TooManyRedirects):
pass
return catalog