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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dl_sh_source-0.1.tar.gz.
File metadata
- Download URL: dl_sh_source-0.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b94d4347fafb25772647c16c97defcec8cf17731c253c401116ca2b953234d3
|
|
| MD5 |
77b49ce58e643f73b1e1ad0045e3a099
|
|
| BLAKE2b-256 |
9d0c334627ba60f29a90c8057baa7840999d16bb5381bdf4daa906cdd2c9e7ca
|
File details
Details for the file dl_sh_source-0.1-py3-none-any.whl.
File metadata
- Download URL: dl_sh_source-0.1-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9a0953f782e0bf66d79455fabcae3e6d85027b5d1a255b9b16a26b1375c46b8
|
|
| MD5 |
b9dca7cb60dbef2f778d64505b81b58b
|
|
| BLAKE2b-256 |
644b0789322cd4e5f05f244aa43cdb87e4e8c9e8ed63c680436e4e12ae39f725
|