Closed AJamesPhillips closed 2 years ago
Hmm, no it seems to be fine when run locally? Perhaps the IP address range(s) of the demo server is blocked by the europepmc.org server.
Hmm, no it seems to be fine when run locally? Perhaps the IP address range(s) of the demo server is blocked by the europepmc.org server.
Looks like an issue caused by the destination server and not the library itself.
I tried the following URL: https://europepmc.org/articles/pmc5488957?pdf=render on https://robwu.nl/cors-anywhere.html but it shows a 403 Forbidden error. When I tried to get the PDF using
import requests; url='https://europepmc.org/articles/pmc5488957?pdf=render'; r = requests.get(url, stream=True)
on Python3 it returned the PDF with a 200.I will try running the CORS-server in node to see what might be the problem but any ideas?
Specific error message on https://robwu.nl/cors-anywhere.html
Thank you for this tool.