Google Drive and Google Colab Can be used to download any kind of torrent of any size from internet with maximum speed available.
It'll take maximum 3 minutes
-
Table of Contents
Log-in to your Google account
At first login to your Google drive/ Google account. If this account has G-Suit enabled it would be great otherwise it’s okey.
-
Browse Google Colab and Connect
Browse Google Colab in a new tab. And click into connect in upper right Corner
-
Install transmission-daemon
In code cell in middle write this instruction and execute it by clicking in triangular icon like play button.
!apt-get install transmission-cli transmission-daemon
-
Mount Google Drive with colab
Mount Google Drive with colab by executing this command.
from google.colab import drive drive.mount('content/drive')
And Click on the link they provides and authorize access to your Google Drive, By pasting authorization code in “Enter your authorization code:” and pressing Enter. -
Initiate Transmission
To start transmission daemon write this command and execute.
!transmission-daemon
-
Open your transmission Settings
To see details of your transmission setting write this command and execute.
!transmission-daemon --dump-settings
-
Change default download and incomplete download directory
Let’s assume we have a directory in google drive named as Torrent. To choose this as default download and incomplete download directory, write this code and execute.
!transmission-daemon --download-dir 'content/drive/My Drive/Torrent/'
!transmission-daemon --incomplete-dir 'content/drive/My Drive/Torrent/'
-
Open torrent Que
Let’s open torrent Que by executing this instruction.
!transmission-daemon -l
-
Add torrent using torrent file
Lets assume we have directory “torrentfile” and it has our torrent file “torrentname.torrent” . To add this in transmission write and execute this instruction.
!transmission-daemon -a 'content/drive/My Drive/Torrentfile/torrentname.torrent'
-
Add torrent using magnet link
Copy magnet from any public torrent site and paste inside the quotation and execute.
!transmission-daemon -a 'magnet:?xt=urn:btih:B3A4B68D8DAE88B1540798EFBF17948154384A44&dn=The+Grudge+%282020%29+%5B1080p%5D+%5BWEBRip%5D+%5B5.1%5D+%5BYTS%5D+%5BYIFY%5D&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2F9.rarbg.com%3A2710%2Fannounce&tr=udp%3A%2F%2Fp4p.arenabg.com%3A1337&tr=udp%3A%2F%2Ftracker.internetwarriors.net%3A1337&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.zer0day.to%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=udp%3A%2F%2Fcoppersurfer.tk%3A6969%2Fannounce'
-
See download progress
To check download progress after a pause of time we can use this loop. It’ll check current torrent Que in every two seconds.
from time import sleep
from IPython.display import clear_output, display while(True):
clear_output(wait=True)
!transmission-daemon -l
sleep(2)
-
Bonus: Remove a torrent from Que
To remove a torrent while downloading in Google Drive execute this command as following index.
!transmission-remote -t 1 -r
-
Bonus: Stop torrent client
If your all download is completed stop transmission by executing this command.
!service transmission-daemon stop
-
Suggestion
Don’t download Private tracker torrents in this way. Cause, transmission can’t send proper ratio data. It may lead to ban!
Download from only public tracker like https://1337x.to/