opencivicdata / python-legistar-scraper

Scrapes municipal data from Legistar websites
BSD 3-Clause "New" or "Revised" License
42 stars 28 forks source link

Document URLs returned from onclick attributes are invalid #75

Closed pjsier closed 5 years ago

pjsier commented 5 years ago

URLs that are pulled from onclick attributes are returning invalid URLs if the path doesn't start with a /. One example is "https://cook-county.legistar.comVideo.aspx?Mode=Granicus&ID1=1996&Mode2=Video" being returned instead of "https://cook-county.legistar.com/Video..."

Seen in both https://cook-county.legistar.com and https://chicagoparkdistrict.legistar.com. I can open a PR with a fix for this