pgh-public-meetings / city-scrapers-pitt

Pittsburgh City Scrapers: sourcing public meetings in Pittsburgh
https://pgh-public-meetings.github.io/events/
MIT License
19 stars 66 forks source link

Scrapy Shell doesn't run after copying spider from legacy city-scrapers repo #37

Closed dkori closed 5 years ago

dkori commented 5 years ago

Copied a spider I was working on in the legacy city-scrapers repo into my spiders branch in the city-scrapers-pitt repo.

This prevented "Scrapy Shell" from running on my mac terminal, the error said 'No module named "city_scrapers.spider"'.

Solution was to update import message at the beginning of the spyder, update lines importing from city_scrapers.spiders to import from city_scrapers_core.spiders.