codeforsanjose / city-agenda-scraper

9 stars 16 forks source link

QA testing: Try scraping other Legistar cities #53

Open krammy19 opened 2 years ago

krammy19 commented 2 years ago

We know that our scraper works for San Jose, but we should begin testing it out on other cities that also use the Legistar platform. Please determine what, if any, different parameters / arguments need to be included in order to successfully scrape other cities that use Legistar.

Tasks:

Note: in order to scrape from cities besides San Jose, you will likely need to change the link text search in the Legistar_selenium scraper from "Memorandum" to "Staff Report". San Jose labels its staff memos as "Memorandum" whereas most other cities call them "Staff reports"

Line 142 in Legistar_Selenium:

memorandum = driver.find_element_by_link_text('Memorandum')