Skip to main content

Download articles from Sci Hub given the article's DOI.

Project description

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.

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

dl_sh_source-0.3.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dl_sh_source-0.3-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file dl_sh_source-0.3.tar.gz.

File metadata

  • Download URL: dl_sh_source-0.3.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for dl_sh_source-0.3.tar.gz
Algorithm Hash digest
SHA256 391ef88d712acf953865ac33996bd184b6a44981d864dcf1e47961f014304080
MD5 c9d5448bb8b088b2922ad227990aea2b
BLAKE2b-256 a31ed48a5f0ab49ca73845cc427e2e77148597ae8af5c12f808604e72d40d61b

See more details on using hashes here.

File details

Details for the file dl_sh_source-0.3-py3-none-any.whl.

File metadata

  • Download URL: dl_sh_source-0.3-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for dl_sh_source-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 93e3fb5aa8069efa6f9b6097fecf1694d63d469666152013ddcca2006a4105e2
MD5 60e521caa68e7ff0b88a4cc132e5a011
BLAKE2b-256 f0884ecd10a6d9930e2ec58376496c63e4f5674a34db8c7c31d1996a26207c4f

See more details on using hashes here.

Supported by

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