Telegram bot to stream torrent files to Google Drive using Google Colab.
- Since it is a Telegram bot ,you can access it from anywhere ,it will neither use your data or space.
- Because of the Google Servers high download and upload speed ,you can stream torrents fast.
- You can download torrent upto 75 gb without any problem.
- Contact @BotFather in your Telegram messenger to create new telegram bot
- To get a token, send BotFather a message that says
/newbot
and paste token into config.cfg file. - When asked for a name and username for your new bot choose username such as something that ends with the word
_bot
. For exampledrivebottyl3r_bot
- If your chosen name is available, BotFather will send you a token
- 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
- Send
- Ok now you're ready to go.
- Create new folder in google drive and copy all the files from folder Telegram_bot to the newly created folder
- Open and upload GDriveuploader.ipynb file or Click the badge which says Open in Colab
- Run the whole notebook (Runtime > Run all)
- Follow directions there.
After download finishes the downloaded files will be in there in your drive in a folder named "Experiment"
- requests
- lxml
- beautifulsoup4
- https://www.libtorrent.org/
- Concurrent torrent download
- Progressbar of the download.
- Cancel current download
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