rafguns / doidownloader

You give it DOIs, it gives you the article PDFs
MIT License
0 stars 0 forks source link

ValueError: Invalid IPv6 URL in `DOIDownloader.response_to_html` #20

Closed rafguns closed 10 months ago

rafguns commented 10 months ago

Encountered on https://brill.com/display/book/9789004471641/BP000035.xml. The error is triggered by a link to 'https://makercitybook.com[17/12/2017]'.

rafguns commented 10 months ago

I think we should just skip making the links absolute if this code throws errors.