Command-line and Python API to download PDFs directly from Sci-Hub
Project description
pyscihub
Command-line and Python API to download PDFs directly from Sci-Hub
Free software: MIT license
Documentation: https://pyscihub.readthedocs.io.
Installation
Installing the Sci-Hub CLI is as easy as cloning this repo and installing it using pip, i.e.,
git clone https://github.com/markkvdb/pyscihub.git
cd pyscihub
pip install -e .
If you don’t want to change the standard output folder, then make sure that you create a output folder in the pyscihub folder.
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.
History
0.1.0 (2020-10-06)
First release on PyPI.
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.