Remove fixture creation call
@@ -4,7 +4,6 @@ All spiders should yield data shaped according to the Open Civic Data
specification (http://docs.opencivicdata.org/en/latest/data/event.html).
"""
-import json
from datetime import datetime, timedelta
import urllib3
@@ -32,12 +31,6 @@ class AlleCountySpider(Spider):
to fit your scraping needs.
"""
events = self._make_legistar_call()
- es = [[e, 0] for e, _ in events]
- print(es)
- with open('test.json', 'w') as f:
- json.dump(es, f)
- # for e, _ in events:
- # f.write(f'{json.dumps(e)}\n')
return self._parse_events(events)
def _make_legistar_call(self, since=None):
