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

Fix 404 responses manually where applicable. #4

Open
DiPierro opened this issue Feb 10, 2021 · 1 comment
Open

Fix 404 responses manually where applicable. #4

DiPierro opened this issue Feb 10, 2021 · 1 comment
Labels

Comments

@DiPierro
Copy link
Contributor

DiPierro commented Feb 10, 2021

try_scraper.py does not discover the aliases of CivicPlus websites if the base url does not redirect to the true URL, but a quick online search can easily turn up the correct URL.

For example, http://ar-rogers.civicplus.com/AgendaCenter returns a 404 response with no redirect but a quick search shows the correct URL is https://www.rogersar.gov/AgendaCenter. There seems to be a similar problem with http://oh-greenecounty.civicplus.com/ failing to redirect to https://www.greenecountyohio.gov/AgendaCenter.

We should check whether other 404 responses follow the same pattern and manually edit our list of sites accordingly.

@DiPierro
Copy link
Contributor Author

DiPierro commented Feb 19, 2021

I've manually fixed or removed the URLs that return 404 responses. Here's an Rscript showing the steps I took. I have updated the public list of known CivicPlus sites with the changes documented in this script.

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

No branches or pull requests

1 participant