Skip to main content

Command-line and Python API to download PDFs directly from Sci-Hub

Project description

pyscihub

https://img.shields.io/pypi/v/pyscihub.svg https://img.shields.io/travis/markkvdb/pyscihub.svg Documentation Status

Command-line and Python API to download PDFs directly from Sci-Hub

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


Download files

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

Source Distribution

pyscihub-0.1.0.tar.gz (1.6 MB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page