Skip to content

ogkunald/Torrent-Drive-Telegram-Bot-Using-Colab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Torrent To Google Drive Telegram Bot

Telegram bot to stream torrent files to Google Drive using Google Colab.

Open In Colab

What is the purpose of it?

  1. Since it is a Telegram bot ,you can access it from anywhere ,it will neither use your data or space.
  2. Because of the Google Servers high download and upload speed ,you can stream torrents fast.
  3. You can download torrent upto 75 gb without any problem.

Tutorial

  1. Contact @BotFather in your Telegram messenger to create new telegram bot
  2. To get a token, send BotFather a message that says /newbot and paste token into config.cfg file.
  3. When asked for a name and username for your new bot choose username such as something that ends with the word _bot. For example drivebottyl3r_bot
  4. If your chosen name is available, BotFather will send you a token
  5. To set Description for your bot in BotFather do the following:
    • Send /setdescription to BotFather
    • Select the bot for which you are writing a Description
    • Change the description and send it to BotFather
  6. Ok now you're ready to go.
  7. Create new folder in google drive and copy all the files from folder Telegram_bot to the newly created folder
  8. Open and upload GDriveuploader.ipynb file or Click the badge which says Open in Colab
  9. Run the whole notebook (Runtime > Run all)
  10. Follow directions there.

After download finishes the downloaded files will be in there in your drive in a folder named "Experiment"

Dependencies:

  1. requests
  2. lxml
  3. beautifulsoup4
  4. https://www.libtorrent.org/

Screenshots

TELEGRAMSS COLABSS

TODO

  1. Concurrent torrent download
  2. Progressbar of the download.
  3. Cancel current download

This whole repo is against Google Colab policy and you shouldn't be using it.

Why are hardware resources such as T4 GPUs not available to me? The best available hardware is prioritized for users who use Colaboratory interactively rather than for long-running computations. Users who use Colaboratory for long-running computations may be temporarily restricted in the type of hardware made available to them, and/or the duration that the hardware can be used for. We encourage users with high computational needs to use Colaboratory’s UI with a local runtime. Please note that using Colaboratory for cryptocurrency mining is disallowed entirely, and may result in being banned from using Colab altogether.

Source: https://research.google.com/colaboratory/faq.html

Maintained By : Kunal Dongare

About

Simple Torrent to GDrive Telegram bot using colab

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published