Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standardize primegov.site.Site.scrape #155

Open
zstumgoren opened this issue Jun 22, 2022 · 0 comments
Open

Standardize primegov.site.Site.scrape #155

zstumgoren opened this issue Jun 22, 2022 · 0 comments

Comments

@zstumgoren
Copy link
Member

zstumgoren commented Jun 22, 2022

Site.scrape method should be updated to match the features supported in CivicPlus and Legistar. Specifically, we should attempt to implement the following features:

  • Standardize site class name to Site and import as PrimeGovSite (the pre-existing name in civic_scraper.platforms.__init__.py)
  • File download should be set to False by default
  • date-based filtering, with default set to current day
  • file type filtering for downloads, with Agendas and Minutes set to default
  • file size filtering for downloads

We should also attempt to implement the cache flag as in CivicPlus, although we didn't do so for Legistar since the underlying python-legistar framework would need to be refactored to support caching of source HTML.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant