Skip to content

Commit

Permalink
Patch #655 patch
Browse files Browse the repository at this point in the history
  • Loading branch information
stucka committed Jul 15, 2024
1 parent 31b54fe commit 896ee37
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 896ee37

Please sign in to comment.