Skip to main content

dl-sh-source

This program downloads an article from Sci-Hub to the current working directory.

Installation

pipx install dl-sh-source --include-deps

Usage

Use the original article's digital object identifier (DOI) for the ARTICLE_NAME argument. Use a working Sci-Hub proxy as the SCIHUB_URL argument. For example, if the article's DOI URL is 10.1192/bjp.173.6.519, and the Sci-Hub proxy you want to use is https://sci-hub.st, then the entire command would look like the following:

cd ~/downloads
dl-sh-source "https://sci-hub.st" "10.1192/bjp.173.6.519"

Output:
--> /home/jas/downloads/paykel1998.pdf

However, if the article cannot be found on Sci-Hub, you'll get the following message:

Output:
:(
Unfortunately, Sci-Hub doesn't have the requested document: 10.1192/bjp.173.6.519

Note: make sure to use quotes around the Sci-Hub URL and DOI in the arguments to dl-sh-source.

Metadata

Release files for dl-sh-source 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dl-sh-source 0.4
File Size Uploaded Provenance Actions
dl_sh_source-0.4.tar.gz 21.6 kB Without provenance Details for dl_sh_source-0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dl-sh-source 0.4
File Interpreter ABI Platform Actions
dl_sh_source-0.4-py3-none-any.whl Python 3 none any Details for dl_sh_source-0.4-py3-none-any.whl

Total release size: 36.5 kB

Release files / dl_sh_source-0.4.tar.gz

Download URL dl_sh_source-0.4.tar.gz
Size 21.6 kB
Tags Source
SHA-256 checksum
How to use checksums
05670fa5ab8b1439adb34bef3590a5cf639b66898e96583e9385a1d425a437af
BLAKE2b-256 checksum
How to use checksums
60d59b02a5e7b0ab7871f920447ee7fca8f28a490cfbb3733596b8049d3da925
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.2

Release files / dl_sh_source-0.4-py3-none-any.whl

Download URL dl_sh_source-0.4-py3-none-any.whl
Size 14.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1bb8439d22e413a3f1df5194f6b75ba3a6176c5087e52bd771ac900a9a5f6943
BLAKE2b-256 checksum
How to use checksums
fa0b6ac0636a96d516008c6d56a2754bfd79ad4a7388f0ec2654083312d593fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.2

Security for dl-sh-source 0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page