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 bugfix #216

Open will-snavely opened 3 years ago

will-snavely commented 3 years ago

This is a work-around to a None-reference that occurs in the base class from the city scrapers core module. The exception is raised from a factory method that doesn't check for a null spider (which seems to occur when you launch from scrapy shell). This fix overrides that factory method and adds a None check.