Closed MatteoRiva95 closed 1 hour ago
Hello @MatteoRiva95. Try this:
from semanticscholar import SemanticScholar
import urllib.request
sch = SemanticScholar()
paper = sch.get_paper('10.1079/9781845939649.0000')
if paper.isOpenAccess:
urllib.request.urlretrieve(paper.openAccessPdf['url'], "paper.pdf")
Closing this for now. Feel free to reopen anytime.
Question
Hello everyone,
I would like to know if there is a method to download PDFs using DOIs. If yes, can you tell me how, please?
Thank you so much in advance!