ryelogheat / xpbot

Analyze a media file, identify the TMDB/IMDB, and generate all the necessary info to upload a torrent to a private tracker using the UNIT3D codebase
56 stars 27 forks source link

ReadMe!!

While I still occasionally update this project, you should really consider using GG-BOT instead, its a fork of this project but is way more active & does pretty much everything better :)


UNIT3D auto upload

Automatically parse, rename, and upload torrents to trackers using the UNIT3D codebase

Supported sites:

ACM AsianCinema
ATH Aither
BHD Beyond-HD
BLU Blutopia
R4E Racing4Everyone
Telly Telly.wtf
Ntelogo Ntelogo
UFHD Uncutflixhd
DST DesiTorrents

Basic setup:

  1. Clone / download this repository
  2. Install necessary packages pip3 install -r requirements.txt
  3. Rename config.env.sample to config.env
  4. Fill out the required values in config.env
  5. Ensure you have mediainfo & ffmpeg installed on your system
  6. Run the script using Python3 (If you're having issues or torf isn't installing, try python3.9)


Things to note:

  1. We use TMDB API for all things media related (Title, Year, External IDs, etc)
  2. If you provide the IMDB ID via -imdb, you must include the 'tt' that precedes the numerical ID
  3. If you're trying to pass in a file as an arg, you may find autocomplete isn't working. Do this to fix it
    • (What I mean by autocomplete is when you double hit Tab, and the filename/folder gets automatically filled in)
    • chmod u+x auto_upload.py
    • run script using ./auto_upload.py -t etc -p /path/to/file/autocompletes.now
  4. A folder called temp_upload will be created which will store the files:
    • description.txt mediainfo.txt *.torrent

Wiki

Video usage examples

Available args & user input

config.env breakdown

/site_templates/*.json guide

Automatic re-uploading (autodl)