Skip to content

Commit

Permalink
Merge pull request #657 from biglocalnews/id-655
Browse files Browse the repository at this point in the history
Repatch ID #655 patch
  • Loading branch information
stucka authored Jul 15, 2024
2 parents 618eaba + cf344fc commit 8c54ec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion warn/scrapers/id.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def scrape(
# Start finding the link before "Who to contact"
html = r.text
localizedhtml = html.split("<h2>Who to contact")[0]
soup = BeautifulSoup(localizedhtml, features="lxml")
soup = BeautifulSoup(localizedhtml, features="html5lib")
last_url = soup.find_all("a")[-1]["href"]
pdf_url = f"{base_url}{last_url}"

Expand Down

0 comments on commit 8c54ec6

Please sign in to comment.