Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pykong/pypergrabber
Fetches PubMed article IDs (PMIDs) from email inbox, then crawls PubMed, Google Scholar and Sci-Hub for respective PDF files.
https://github.com/pykong/pypergrabber
crawler email-inbox google-scholar pdf pmid pubmed python sci-hub scraper
Last synced: about 2 months ago
JSON representation
Fetches PubMed article IDs (PMIDs) from email inbox, then crawls PubMed, Google Scholar and Sci-Hub for respective PDF files.
- Host: GitHub
- URL: https://github.com/pykong/pypergrabber
- Owner: pykong
- License: mit
- Created: 2016-07-10T17:01:39.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-23T22:01:46.000Z (about 6 years ago)
- Last Synced: 2024-11-01T08:42:23.409Z (about 2 months ago)
- Topics: crawler, email-inbox, google-scholar, pdf, pmid, pubmed, python, sci-hub, scraper
- Language: Python
- Size: 21.5 KB
- Stars: 30
- Watchers: 1
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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`