Pmid To Pdf Url
1
0
Entering edit mode
10.3 years ago
bwio ▴ 30

I have a list of PMIDs and I want to write a simple scraper script that finds the URL of the corresponding pdf paper and downloads it. As far as I can see a direct url to the pdf file is not exposed in the pubmed api.

There is this service called thepaperlink, which does exactly what I want, but I don't want do build my scripts around a third party database. they claim that their service is build around eutils, but i don't see this is possible.

eutils pubmed • 4.4k views
ADD COMMENT
0
0
Entering edit mode

Sorry, I didn't found any duplicates before. It looks like you can follor the DOI to the publishers website, but you have to scrape the link to the pdf via regrex/heuristics:

https://github.com/elfar/PubmedPDF/blob/master/pdfetch.rb

ADD REPLY

Login before adding your answer.

Traffic: 1895 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6