/download_handler

Send a post-process request to Medusa / SickChill / SickRage directly from your download client

Primary LanguagePython

download_handler

Send a post-process request to Medusa / SickChill / SickRage directly from your download client.

Requirements

  1. Python (tested with versions 2.7 and 3.7, should work with 3.4, 3.5, 3.6, 3.8, etc.)
  2. requests Python package

Installation

Clone this repository to a convenient location using git:

git clone https://github.com/sharkykh/download_handler.git

OR

Download and extract the zip file/tar.gz file to a convenient location.

Instructions

First: Update the configuration values in the script.
Then: In your download client, find the "Run external program" setting and set the file path with the currect arguments.

uTorrent:

"C:\path\to\download_handler.pyw" "%D" --label "%L"

qBittorrent:

"C:\Python27\python.exe" "C:\path\to\download_handler.pyw" "%R" --label "%L"

Usage

$ download_handler.py -h
usage: download_handler.py [-h] --label LABEL path

positional arguments:
  path           full path to downloaded folder

optional arguments:
  -h, --help     show this help message and exit
  --label LABEL  torrent label