Skip to content

xolli/telegramtorrent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegramtorrent bot

It is the telegram bot whuch can download files with BitTorrent protocol

Running

Generate your api_id and api_hash (instruction)

Add user's ID to white list — array allowed_users in main.py (line 26)

Then use this commands:

pip3 install -r requirements.txt
API_ID=<you API ID> API_HASH=<YOUR_API_HASH> python3 main.py

This bot looks like a telegram user. Because regular bots can upload only files below 50 MB (Bots FAQ)

Then you have to enter your mobile phone, 2FA code and application will create a file firstsession.session with telegram tokens

Using

If you want to download contents of .torrent file, you have to send this file to the user which was logged in with this application

After uploading, you can download zip archive with necessary files

FAQ

Bot separated zip archive. What is the way to make single file?

Use this command: cat filename.zip_* > filename.zip

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages