# Download torrent file with google colab with 2 lines of code

**URL:** <https://onehack.st/t/download-torrent-file-with-google-colab-with-2-lines-of-code/73231>\
**Category:** Tutorials & Methods\
**Tags:** tips-tricks\
**Created:** [March 13, 2020, 3:43pm UTC](https://onehack.st/t/download-torrent-file-with-google-colab-with-2-lines-of-code/73231 "2020-03-13T15:43:24Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![COD\_Legend](https://onehack.st/user_avatar/onehack.st/cod_legend/32/17924_2.png) [@COD\_Legend](https://onehack.st/u/COD_Legend)\
**Post date:** [March 28, 2020, 8:25pm UTC](https://onehack.st/t/download-torrent-file-with-google-colab-with-2-lines-of-code/73231/21 "2020-03-28T20:25:49Z")

</div>

around how many gb u have downloaded i am asking bcz i have 10 gb on going

---

<div class="post-metadata">

**Author:** ![Armin](https://onehack.st/user_avatar/onehack.st/armin/32/49874_2.png) [@Armin](https://onehack.st/u/Armin)\
**Post date:** [March 28, 2020, 10:38pm UTC](https://onehack.st/t/download-torrent-file-with-google-colab-with-2-lines-of-code/73231/22 "2020-03-28T22:38:42Z")

</div>

Thanks 😍

---

<div class="post-metadata">

**Author:** ![COD\_Legend](https://onehack.st/user_avatar/onehack.st/cod_legend/32/17924_2.png) [@COD\_Legend](https://onehack.st/u/COD_Legend)\
**Post date:** [March 29, 2020, 7:48am UTC](https://onehack.st/t/download-torrent-file-with-google-colab-with-2-lines-of-code/73231/23 "2020-03-29T07:48:58Z")

</div>

![Capture](https://onehack.st/uploads/default/original/3X/3/f/3f6efaef1eb27294520659676c36fc6ef07c6d3c.png) ![Capture1](https://onehack.st/uploads/default/original/3X/b/0/b014f7dec647563d8eee0ab24ca2093083b1285c.png)  
Every thing works fine but there are some changes in second code line make it as shown in pic and u are good to go. u can also change the directory but make sure if it contains space then use ’ ’ to write it o.w. it count it as torrent every thing after that space.

---

<div class="post-metadata">

**Author:** ![Mishkat\_Rahman](https://onehack.st/user_avatar/onehack.st/mishkat_rahman/32/1463_2.png) [@Mishkat\_Rahman](https://onehack.st/u/Mishkat_Rahman)\
**Post date:** [March 29, 2020, 2:56pm UTC](https://onehack.st/t/download-torrent-file-with-google-colab-with-2-lines-of-code/73231/24 "2020-03-29T14:56:07Z")

</div>

Around 20-25GB total I think.

---

<div class="post-metadata">

**Author:** ![COD\_Legend](https://onehack.st/user_avatar/onehack.st/cod_legend/32/17924_2.png) [@COD\_Legend](https://onehack.st/u/COD_Legend)\
**Post date:** [March 29, 2020, 3:35pm UTC](https://onehack.st/t/download-torrent-file-with-google-colab-with-2-lines-of-code/73231/25 "2020-03-29T15:35:09Z")

</div>

in one day?

---

<div class="post-metadata">

**Author:** ![Saitama](https://onehack.st/user_avatar/onehack.st/saitama/32/38608_2.png) [@Saitama](https://onehack.st/u/Saitama)\
**Post date:** [March 30, 2020, 2:48pm UTC](https://onehack.st/t/download-torrent-file-with-google-colab-with-2-lines-of-code/73231/27 "2020-03-30T14:48:33Z")

</div>

not working disconnect pretty fast within 2 min. error saying Port Forwarding: Stopped

---

<div class="post-metadata">

**Author:** ![Aryaman\_Purkait](https://onehack.st/user_avatar/onehack.st/aryaman_purkait/32/96918_2.png) [@Aryaman\_Purkait](https://onehack.st/u/Aryaman_Purkait)\
**Post date:** [March 30, 2020, 3:13pm UTC](https://onehack.st/t/download-torrent-file-with-google-colab-with-2-lines-of-code/73231/28 "2020-03-30T15:13:18Z")

</div>

See. If you connect using GPU you can download around 30 GB. If you connect using TPU or normally, you will get around 80 GB to download. Around 6 months ago you could download around 350 GB, but now they have reduced it drastically for unknown reasons.

---

<div class="post-metadata">

**Author:** ![COD\_Legend](https://onehack.st/user_avatar/onehack.st/cod_legend/32/17924_2.png) [@COD\_Legend](https://onehack.st/u/COD_Legend)\
**Post date:** [April 2, 2020, 11:58am UTC](https://onehack.st/t/download-torrent-file-with-google-colab-with-2-lines-of-code/73231/29 "2020-04-02T11:58:20Z")

</div>

i know that i am asking bcz that guy says google restricts u after some amount of data usage and doesn’t let u allow to connect to backend. well till now i have no issue, i am already gone over 100 GB.

---

<div class="post-metadata">

**Author:** ![Nam\_Nguy\_n\_Van](https://onehack.st/user_avatar/onehack.st/nam_nguy_n_van/32/35528_2.png) [@Nam\_Nguy\_n\_Van](https://onehack.st/u/Nam_Nguy_n_Van)\
**Post date:** [April 12, 2020, 9:15am UTC](https://onehack.st/t/download-torrent-file-with-google-colab-with-2-lines-of-code/73231/30 "2020-04-12T09:15:00Z")

</div>

Hi all,

This is detail guide. Can you see here

[![](https://img.youtube.com/vi/zaJIktPXVj8/maxresdefault.jpg "Download torrents to Google Drive using Colab") ](https://www.youtube.com/watch?v=zaJIktPXVj8)

---

<div class="post-metadata">

**Author:** ![Benny66](https://onehack.st/letter_avatar_proxy/v4/letter/b/858c86/32.png) [@Benny66](https://onehack.st/u/Benny66)\
**Post date:** [April 12, 2020, 9:25am UTC](https://onehack.st/t/download-torrent-file-with-google-colab-with-2-lines-of-code/73231/31 "2020-04-12T09:25:27Z")

</div>

Great video. Would it be fair to say that this entire method with Google Collab is a slightly more long winded version of aria2 (Fully set up)?

---

<div class="post-metadata">

**Author:** ![Somrat\_Dutta1](https://onehack.st/user_avatar/onehack.st/somrat_dutta1/32/36248_2.png) [@Somrat\_Dutta1](https://onehack.st/u/Somrat_Dutta1)\
**Post date:** [April 19, 2020, 10:29am UTC](https://onehack.st/t/download-torrent-file-with-google-colab-with-2-lines-of-code/73231/32 "2020-04-19T10:29:16Z")

</div>

Here’s a video guide that might help:-

![](https://img.youtube.com/vi/7-MvsHx1lME/maxresdefault.jpg)https://www.youtube.com/embed/7-MvsHx1lME?feature=oembed&wmode=opaque

---

<div class="post-metadata">

**Author:** ![Somrat\_Dutta1](https://onehack.st/user_avatar/onehack.st/somrat_dutta1/32/36248_2.png) [@Somrat\_Dutta1](https://onehack.st/u/Somrat_Dutta1)\
**Post date:** [April 19, 2020, 10:31am UTC](https://onehack.st/t/download-torrent-file-with-google-colab-with-2-lines-of-code/73231/33 "2020-04-19T10:31:04Z")

</div>

I have compiled the code, so you just need to click it, no need to add more codes:-

![](https://img.youtube.com/vi/7-MvsHx1lME/maxresdefault.jpg)https://www.youtube.com/embed/7-MvsHx1lME?feature=oembed&wmode=opaque

---

<div class="post-metadata">

**Author:** ![shubh](https://onehack.st/user_avatar/onehack.st/shubh/32/24365_2.png) [@shubh](https://onehack.st/u/shubh)\
**Post date:** [April 19, 2020, 6:01pm UTC](https://onehack.st/t/download-torrent-file-with-google-colab-with-2-lines-of-code/73231/34 "2020-04-19T18:01:42Z")

</div>

Hi,  
Use Shared drives instead of Shared Drives.  
Attention : Case sensitive

---

<div class="post-metadata">

**Author:** ![Somrat\_Dutta1](https://onehack.st/user_avatar/onehack.st/somrat_dutta1/32/36248_2.png) [@Somrat\_Dutta1](https://onehack.st/u/Somrat_Dutta1)\
**Post date:** [April 20, 2020, 2:15pm UTC](https://onehack.st/t/download-torrent-file-with-google-colab-with-2-lines-of-code/73231/35 "2020-04-20T14:15:44Z")

</div>

Do you know how to tweak the code for Shared Drives?

---

<div class="post-metadata">

**Author:** ![shubh](https://onehack.st/user_avatar/onehack.st/shubh/32/24365_2.png) [@shubh](https://onehack.st/u/shubh)\
**Post date:** [April 22, 2020, 2:33am UTC](https://onehack.st/t/download-torrent-file-with-google-colab-with-2-lines-of-code/73231/36 "2020-04-22T02:33:09Z")

</div>

Yes ,  
Replace My Drive with Shared drives/name of Shared drive

---

<div class="post-metadata">

**Author:** ![Appu\_Creationz](https://onehack.st/user_avatar/onehack.st/appu_creationz/32/37475_2.png) [@Appu\_Creationz](https://onehack.st/u/Appu_Creationz)\
**Post date:** [April 22, 2020, 5:10am UTC](https://onehack.st/t/download-torrent-file-with-google-colab-with-2-lines-of-code/73231/37 "2020-04-22T05:10:17Z")

</div>

hey can i join on your shared drive..

---

<div class="post-metadata">

**Author:** ![Monkeyd\_Luffy](https://onehack.st/user_avatar/onehack.st/monkeyd_luffy/32/25514_2.png) [@Monkeyd\_Luffy](https://onehack.st/u/Monkeyd_Luffy)\
**Post date:** [April 24, 2020, 12:49am UTC](https://onehack.st/t/download-torrent-file-with-google-colab-with-2-lines-of-code/73231/38 "2020-04-24T00:49:28Z")

</div>

Whats means??! If i download juste simple file not torrent. I will be restricted also they will mot ne allowed to connect backend normal

---

<div class="post-metadata">

**Author:** ![hasantha\_pathirana](https://onehack.st/user_avatar/onehack.st/hasantha_pathirana/32/35289_2.png) [@hasantha\_pathirana](https://onehack.st/u/hasantha_pathirana)\
**Post date:** [April 29, 2020, 6:25am UTC](https://onehack.st/t/download-torrent-file-with-google-colab-with-2-lines-of-code/73231/39 "2020-04-29T06:25:52Z")

</div>

guy,just want to clarify that, if i download a huge file using co lab, Does it affect to my local internet data package? as a example if download 10GB file, Did a use 10GB of my local data traffic ?

---

<div class="post-metadata">

**Author:** ![Yash](https://onehack.st/user_avatar/onehack.st/yash/32/40507_2.png) [@Yash](https://onehack.st/u/Yash)\
**Post date:** [April 29, 2020, 7:19am UTC](https://onehack.st/t/download-torrent-file-with-google-colab-with-2-lines-of-code/73231/40 "2020-04-29T07:19:25Z")

</div>

No, when you use colab all the resources that’s being used are from google servers. So, don’t worry, your bandwidth will not be used.

---

<div class="post-metadata">

**Author:** ![Waga](https://onehack.st/user_avatar/onehack.st/waga/32/27787_2.png) [@Waga](https://onehack.st/u/Waga)\
**Post date:** [April 29, 2020, 7:43am UTC](https://onehack.st/t/download-torrent-file-with-google-colab-with-2-lines-of-code/73231/41 "2020-04-29T07:43:32Z")

</div>

No it doesn’t. That’s why you should select the appropriate runtime at the start.

**Local runtime** (don’t use this option) : uses your computer local system resources.

**Host runtime** (this is the option you should choose): uses your host (google colab) resources

Resources here refer to your CPU, RAM and internet bandwidth.

Hope this is clear enough.

Cheers!!!

> **… And Over Every Possessor of Knowledge, There is (Some) One (Else) More Knowledgeable.**

[Previous page](https://onehack.st/t/download-torrent-file-with-google-colab-with-2-lines-of-code/73231.md?page=1)

[Next page](https://onehack.st/t/download-torrent-file-with-google-colab-with-2-lines-of-code/73231.md?page=3)
