getarticle is a package based on SciHub and Google Scholar that can download articles based on DOI or website address. It can also download related articles given keywords.
Project description
getarticle
Description
getarticle
is a package based on SciHub and Google Scholar that can download articles based on DOI or website address. It can also download related articles given keywords.
Setup
pip install -r requirements.txt
Features & Usage
- Initialization
from getarticle import GetArticle
gp = GetArticle()
- Download single article given DOI or website address.
# set single article with doi or address
gp.article("10.1126/science.abc7424")
gp.article("https://science.sciencemag.org/content/early/2020/06/15/science.abc7424.abstract")
gp.download()
Notes:
getarticle
will not download duplicate articles;- Once downloaded, all stored DOI will be cleared;
- For
download
function,direction
argument is the current location by default; - Downloaded article is named as "year-month-day-hour-minute-second.pdf".
- Download related articles given keywords. Keywords can be article names, research fields or author names.
gp.search("Deep Dive into Machine Learning Models for Protein Engineering")
gp.search("SARS, Computation", num_of_page=2)
gp.search("Roberta Croce")
gp.download()
Notes:
num_of_page
is the corresponding number of page in Google Scholar.num_of_page
is 1 by default.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
getarticle-0.0.1.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for getarticle-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd68e0bd37d1fa496dc01389a980e1b02b74709fbb62e7c85d04f167aef29d7e |
|
MD5 | 45f5538394e9418cf0edca5aa70bdb59 |
|
BLAKE2b-256 | dd69060947b818cf52479e2e8263fc28b093c8e3c052a95c021d69cb0dabbb66 |