Skip to main content

Downloads pdfs via a DOI number(or arxivId), article title or a bibtex file, sci-hub

Project description

Description

scihub2pdf is a module of bibcure

Downloads pdfs via a DOI number, article title or a bibtex file, using the database of libgen, Sci-Hub and Arxiv.

Install

$ sudo python /usr/bin/pip install scihub2pdf

If you want to download files from scihub you will need to get PhantomJS

OSX

$ npm install -g phantomjs

Linux Using npm

$ sudo apt-get install npm
$ sudo npm install -g phantomjs

Features and how to use

Given a bibtex file

$ scihub2pdf -i input.bib

Given a DOI number…

$ scihub2pdf 10.1038/s41524-017-0032-0

Given a title…

$ scihub2pdf --title An useful paper

Arxiv…

$ scihub2pdf arxiv:0901.2686
$ scihub2pdf --title arxiv:Periodic table for topological insulators

Location folder as argument

$ scihub2pdf -i input.bib -l somefoler/

Use libgen instead sci-hub

$ scihub2pdf -i input.bib --uselibgen

Sci-hub:

  • Stable
  • Annoying CAPTCHA
  • Fast

Libgen

  • Unstalbe
  • No CAPTCHA
  • Slow

Download from list of items

Given a text file like

10.1038/s41524-017-0032-0
10.1063/1.3149495
.....

download all pdf’s

$ scihub2pdf -i dois.txt --txt

Given a text file like

Some Title 1
Some Title 2
.....

download all pdf’s

$ scihub2pdf -i titles.txt --txt --title

Given a text file like

arXiv:1708.06891
arXiv:1708.06071
arXiv:1708.05948
.....

download all pdf’s

$ scihub2pdf -i arxiv_ids.txt --txt

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
scihub2pdf-0.4.2.tar.gz (7.5 kB) Copy SHA256 hash SHA256 Source None Aug 28, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page