An open API service indexing awesome lists of open source software.

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)

Awesome Lists containing this project

README

          


Sci-Hub Downloader


Buy Me A Coffee



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/).