pyscihub¶
Command-line and Python API to download PDFs directly from Sci-Hub
Free software: MIT license
Documentation: https://pyscihub.readthedocs.io.
Features
Download 1,000s of academic articles without an academic account in one command
Add new articles to the list without downloading existing articles twice
Save important time looking up and downloading articles
Installation¶
To install pyscihub, run this command in your terminal:
$ pipx install pyscihub
This is the preferred method to install pyscihub, as it will always install the most recent stable release. Furthermore, pipx is preferred over pip, since the former will not pollute your global environment with packages needed for pyscihub.
If you don’t have pipx installed, this Python installation guide can guide you through the process.
Usage¶
Tool can be used with a single query, e.g.,
$ pyscihub single "Your paper"
or with a user-provided file containing one query per line as
$ pyscihub file <LOCATION FILE>
If everything goes well, a file output/pdf_paths.csv is created containing the location of the PDFs of all requested queries. If Sci-Hub cannot find the corresponding PDF then the field is empty.