Skip to content

Fetches PubMed article IDs (PMIDs) from email inbox, then crawls PubMed, Google Scholar and Sci-Hub for respective PDF files.

License

Notifications You must be signed in to change notification settings

pykong/PyperGrabber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

PyperGrabber

Fetches PubMed article IDs (PMIDs) from email inbox, then crawls PubMed, Google Scholar and Sci-Hub for respective PDF files.

PubMed can send you regular update on new articles matching your specified search criteria. PyperGrabber will automatically download thoe papers, saving you much time tracking on downloading those manually. When no PDF article is found PyperGrabber will save the PubMed abstract of the respective article to PDF. All files are named after PMID for convenience.

NOTES:

  • Messy code ahead!
  • Program may halt without error message. The source of this bug is yet to be determined.
  • The web crawler function may be used to work with other sources of PMIDs then email (e.g. command line parameter or file holding list of PMIDs)

Required dependencies:

sudo apt-get install wkhtmltopdf
sudo pip install pypdf

USAGE:

  • Step 1 - Put in your email access data into config.ini or prepare to be prompted (works with IMAP)
  • Step 2 - Start with: python ./PyperGrabber.py

About

Fetches PubMed article IDs (PMIDs) from email inbox, then crawls PubMed, Google Scholar and Sci-Hub for respective PDF files.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published