Skip to main content

Torrent downloading progress on Telegram

Project description

TDPT

Torrent downloading progress on Telegram

Screencast

Features

  • Support for two most popular torrent clients Transmission, rTorrent and deluge
  • Multithreading, each downloading item is handled separately
  • Running post download script in separate process
  • Self-adjustment of Telegram bot limits based on number of torrents tracked
  • Easy configuration
  • Uploading new torrent - just send torrent file to chat

Installation

You need Python 3 to run this program.

$ pip install --user tdpt

Create configuration file

$ cp tdpt.ini.template tdpt.ini

Edit it and save.

FAQ

Transmission already supports running script upon finishing download

Yes, that is true. However the script that transmission will run will be executed in the same thread. That means any long running process would freeze it for that amount of time which is highly undesirable.

tdpt picks up new items so slow

Currently it fetches new items every 20 seconds, because this operation can be quite expensive. I might add option to specify this interval based on your preferences.

I am downloading 20 items and tdpt updates them very rarely

Telegram puts limit of how often bot can make request to one channel. Currently the limit is 20 updates per minute. tdpt makes time adjustment based on number of torrents that it tracks to avoid hitting limits.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tdpt, version 1.3
Filename, size File type Python version Upload date Hashes
Filename, size tdpt-1.3-py3-none-any.whl (20.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size tdpt-1.3.tar.gz (7.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page