I found browsing tracker sites, dragging and dropping torrents into my seedbox,
waiting for the download to complete, and then using SFTP to get the downloaded
file back locally annoying, so this script is designed to make that less
annoying. This is a WIP program to scan a directory (normally your Downloads
directory)
for .torrent
files and SFTP them into a seedbox. Then, when that file has been
downloaded, get it back from the seedbox.
this is very alpha, and only works for seedbox.io. it might work for other RuTorrent based shared seedboxes, but I cannot test that. The only functionality that is currently made available through this script is:
- check for torrent files in
targetdir
, probably your downloads folder. - move them to
torrentdir
. - upload new torrents in
torrentdir
to Seedbox.io’swatch
folder. Here, Rutorrent automatically starts the torrent download.
-
download prerequisites,
git
andpython
. -
Clone this repo.
git clone
-
Create a directory to store your
.torrent
files.mkdir torrentfiles
-
configure the YAML file with your login details and the location of the directory you created.
-
To run the script, execute
python main.py
Fill out the config\_example.yaml
file, and rename it to config.yaml
.
-
DONE parse config
-
DONE diff .torrent files in local DL and torrents folder
-
DONE place downloaded file in correct location
-
DONE SFTP .torrent files to seedbox
-
TODO check if download is complete
-
TODO pull file to local machine