biglocalnews / warn-scraper

Command-line interface for downloading WARN Act notices of qualified plant closings and mass layoffs from state government websites
https://warn-scraper.readthedocs.io
Apache License 2.0
28 stars 10 forks source link

Refactor FL to remove tenacity #643

Open chriszs opened 3 months ago

chriszs commented 3 months ago

Closes #642

chriszs commented 3 months ago

This also removes verify=False and a suppression of urllib warnings, both of which appear to no longer be needed.

I could have used fetch_if_not_cached here, but it doesn't use get_url and so doesn't include the same retry functionality.