pyscihub¶
Command-line and Python API to download PDFs directly from Sci-Hub
Free software: MIT license
Documentation: https://pyscihub.readthedocs.io.
Installation¶
To install pyscihub, run this command in your terminal:
$ pip install pyscihub
This is the preferred method to install pyscihub, as it will always install the most recent stable release.
If you don’t have pip 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.