- Added optional argument
Output-Path
, if not used the directory in which the executable is located is used. - Added optional argument
--verbose
- Added docker usage
Content in Tor is often saved on hosters like 1fichier.com.
A user named SoupeAuLait from the board Rindexxx (no longer available) wrote a script to download files from 1fichier.com. The script changed the circuit of Tor until a "free slot" for 1fichier.com was found and downloaded the file.
I grabbed this script and rewrote most parts of it. My improvements are
- Improve readability (speaking variables, proper indentation, ...).
- Prefer local variables instead of global ones.
- Allowed mass downloading by putting all links into a text file.
- Skip already downloaded files.
- Verify downloaded files (very limited).
- Use temp folder for all temporary files.
- Remove temporary files after download.
- Download the Docker dockerfile
wget https://raw.githubusercontent.com/Yemtex/1fichier-downloader/master/1fichier.dockerfile
- Build Docker image from dockerfile
docker build -t 1fichier -f 1fichier.dockerfile .
- Build Docker container from image
docker run -d --name 1fichier --restart=unless-stopped 1fichier:latest
- Open interactive TTY
docker exec -it 1fichier sh
- Run script like standalone script
./1fichier.sh File-With-URLs [Output-Path] [--verbose]
or
./1fichier.sh URL [Output-Path] [--verbose]
1fichier.sh by eismann@5H+yXYkQHMnwtQDzJB8thVYAAIs is licensed under the Apache License, Version 2.0.