Python Forum
download pubmed PDFs using pubmed2pdf in python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
download pubmed PDFs using pubmed2pdf in python
#1
Hello,
Is there anyone can help me with these problems:
I want to download papers from Pubmed and save them as PDFs. Then 
1. A paper in PDF version with a Pubmed ID of 28019091 was successfully downloaded using pubmed2pdf package, and the code used was: 
python -m pubmed2pdf pdf --pmids="28019091"  (in Win 10 terminal), but the PDF file can't be opened. This file has a free PDF version on the web of Pubmed, and after downloading two more other papers using the same code, I also failed to open the corresponding PDFs. So what's wrong with my code?  The code utilized were copied from  https://pypi.org/project/pubmed2pdf/
2. How to download the chosen papers all together using pubmed2pdf package? I only find the pertinent code in the link above written as $ python3 -m pubmed2pdf pdf --pmidsfile="/my/path/to/the/file", but I don't know how to generate a file with batches of Pubmed IDs and have no idea of what types of the file should be created.
I'd be greatly appreciated if anyone could help me.
Reply


Messages In This Thread
download pubmed PDFs using pubmed2pdf in python - by Wooki - Oct-10-2020, 09:11 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Comparing PDFs CaseCRS 5 1,335 Apr-01-2023, 05:46 AM
Last Post: DPaul
  python multiprocessing to download sql table mg24 5 1,608 Oct-31-2022, 03:53 PM
Last Post: Larz60+
  download with internet download manager coral_raha 0 3,059 Jul-18-2021, 03:11 PM
Last Post: coral_raha
  How can I download Python files from GitHub? bitcoin10mil 2 2,898 Aug-26-2020, 09:03 PM
Last Post: Axel_Erfurt
  How to compare two PDFs for differences Normanie 2 2,479 Jul-30-2020, 07:31 AM
Last Post: millpond
Big Grin python download manager with progressbar (not gui) ghostblade 1 1,981 Apr-23-2020, 11:05 AM
Last Post: snippsat
  Concatenate multiple PDFs using python gmehta1996 0 2,161 Mar-29-2020, 09:48 PM
Last Post: gmehta1996
  Python Download GillietheSquid 2 2,097 Mar-27-2020, 09:15 PM
Last Post: GillietheSquid
  Most optimized way to merge figures from multiple PDFs into one PDF page? dmm809 1 2,126 May-22-2019, 10:32 PM
Last Post: micseydel
  How to get python to download YouTube videos in the background? Pythenx 11 10,976 Mar-25-2019, 04:57 AM
Last Post: samsonite

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020