sfbrigade / data-covid19-sfbayarea

Manual and automated processes of sourcing data for the stop-covid19-sfbayarea project
MIT License
8 stars 10 forks source link

HOTFIX: Handle redesigned Santa Clara news page #202

Closed Mr0grog closed 3 years ago

Mr0grog commented 3 years ago

Santa Clara's news page now uses a table to display news items, and is set up with totally different class names. This rejiggers our selectors to handle the new design, and adds slightly more informative error messaging while we're at it.

To test: just run the news scraper and make sure it outputs news data and doesn’t end with an error.

$ python scraper_news.py santa_clara