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.2.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.2-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dl_sh_source-0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 6e54e340ed0c653230f095d7e8a2816db4ebe9541372da46e946ab7ff80fb00e
MD5 d6bdf7b47780c7f2e7c8027ce98b841e
BLAKE2b-256 9f830f6df68ced3732005a5014c9c7e75daeb7f28cea9f48fc84d5bd4c7d89cd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dl_sh_source-0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 02c6dc0d35b931ebd711f1d9ce7a4dabac1899f65a6aa503214fe5434e5479fc
MD5 529029499b929cd64c59c9b1dfb63026
BLAKE2b-256 2ba2d4a0c9c8fa1f99a677794b3503fed00decaf4e25b05e07c54e62f150ad13

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