The Telegram Bot can control a Torrent client for downloading and searching
- Only use in korea because the site for torrent seed is in korea. so the result of search may depend on korean contents
- You can choose torrent client if you modify agent_type section in setting json.
- We support two type clients: Deluge, Transmission
$sudo apt-get install deluge-common deluged deluge-console
then execute the below
$ deluged
$sudo apt-get install transmission-cli transmission-common transmission-daemon
For more details: https://transmissionbt.com/download/
ex)
{
"common": {
"token": "110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw",
"valid_users": [
123456789,
123456789
],
"agent_type": "transmission",
"download_path": "~/Downloads"
},
"transmission": {
"id_pw": "transmission:transmission",
"port": ""
}
}
- token: The token is a string along the lines of 110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw that will be required to authorize the bot and send requests to the Bot API.
- valid_users: The user that is list up in valid_users can communicate with the telegram bot. Every Telegram user has own id string. put your telegram id into that
pip3 install -r pip-requirements.txt
python3 telegram_torrent.py