https://github.com/brunneis/scihub-downloader
Sci-Hub PDF downloader through Tor Network (Docker image)
https://github.com/brunneis/scihub-downloader
scihub tor tor-network
Last synced: 11 months ago
JSON representation
Sci-Hub PDF downloader through Tor Network (Docker image)
- Host: GitHub
- URL: https://github.com/brunneis/scihub-downloader
- Owner: brunneis
- License: gpl-3.0
- Created: 2016-10-12T01:23:43.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-10-27T03:48:56.000Z (over 4 years ago)
- Last Synced: 2025-04-14T16:52:42.371Z (about 1 year ago)
- Topics: scihub, tor, tor-network
- Language: Python
- Homepage:
- Size: 19.5 KB
- Stars: 52
- Watchers: 5
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Sci-Hub Downloader
This container allows to download PDF files from Sci-Hub onion site (through Tor Network) indicating a DOI.
### Disclaimer
I am not responsible for the illegitimate use of this tool. E.g., the download of non-open-access papers or even those if this method is not allowed by the editors.
## Getting the image
### Local build
`docker build -t scihub-downloader .`
### Docker Hub
`docker pull brunneis/scihub-downloader`
## Run the container
### Local build
`docker run -id --name scihub-downloader -p 80:80 -v $(pwd)/local_shared_dir:/var/www/html:Z scihub-downloader`
### Docker Hub
`docker run -id --name scihub-downloader -p 80:80 -v $(pwd)/local_shared_dir:/var/www/html:Z brunneis/scihub-downloader`
> It takes a while to be connected to the Tor network, so it's advisable waiting a minute before starting to download files.
## Download files
The DOI is [`110.1000/xyz123`] in the following execution example (not valid):
`docker exec scihub-downloader /download.py "10.1000/xyz123"`
> The PDFs are stored under the `/var/www/html` directory. The downloaded files are also accessible through a web server on the port 80 by default: [localhost](http://localhost/).
