python - Scraping Data From Interactive Map -
i scrape voter registration data underlying map:
as hover on each town, both total , by-party figures in box below change. record name of each town , registration counts party. suggestions how helpful. i've done scraping in past not interactive , first few attempts various python packages haven't worked.
(unfortunately, sources link @ bottom not useful because links secretary of state's main page , original report data no longer available)
no need build app scrape this, looked @ source of page 5 min, check out:
otherwise
you need have technology has javascript engine, phantomjs or firefox/chrome drivers.
if want stick python, selenium webdriver way go.
Comments
Post a Comment