hotfix for failing cook_housingauthority spider
@@ -37,7 +37,11 @@ class Cook_housingAuthoritySpider(Spider):
yield self.events_endpoint.format(id=event_id)
def _parse_event(self, response):
+ try:
r = json.loads(response.body)
+ except TypeError:
+ yield {}
+ else:
event = r['json_ld']
all_date = r['all_day']
classification = 'Not classified'
