Skip to content

a python script for moving .torrent files to a seedbox, and getting the files back

License

Notifications You must be signed in to change notification settings

linozen/torrent2box

Repository files navigation

Table of Contents

  1. torrent2box
    1. Introduction
    2. Status
    3. Installation
    4. Configuration
    5. Outstanding tasks
      1. Local file management
      2. Seedbox file management

torrent2box

Introduction

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.

Status

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’s watch folder. Here, Rutorrent automatically starts the torrent download.

Installation

  • download prerequisites, git and python.

  • 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
    

Configuration

Fill out the config\_example.yaml file, and rename it to config.yaml.

Outstanding tasks

Local file management

  1. DONE parse config

  2. DONE diff .torrent files in local DL and torrents folder

  3. DONE place downloaded file in correct location

Seedbox file management

  1. DONE SFTP .torrent files to seedbox

  2. TODO check if download is complete

  3. TODO pull file to local machine

About

a python script for moving .torrent files to a seedbox, and getting the files back

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published