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.4.tar.gz (21.6 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.4-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for dl_sh_source-0.4.tar.gz
Algorithm Hash digest
SHA256 05670fa5ab8b1439adb34bef3590a5cf639b66898e96583e9385a1d425a437af
MD5 3cc1a122a317dd1bb4d5893b36fcdf2f
BLAKE2b-256 60d59b02a5e7b0ab7871f920447ee7fca8f28a490cfbb3733596b8049d3da925

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for dl_sh_source-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1bb8439d22e413a3f1df5194f6b75ba3a6176c5087e52bd771ac900a9a5f6943
MD5 ca17d4ca5ec0a4045ac78c0e3b734eb6
BLAKE2b-256 fa0b6ac0636a96d516008c6d56a2754bfd79ad4a7388f0ec2654083312d593fb

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