Giter Club home page Giter Club logo

r12habh / torrent-to-google-drive-downloader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fklc/torrent-to-google-drive-downloader

284.0 284.0 109.0 429 KB

Simple notebook to stream torrent files to Google Drive using Google Colab and python3.

Home Page: https://github.com/r12habh/Torrent-To-Google-Drive-Downloader

License: MIT License

Jupyter Notebook 100.00%
colab colab-notebook colaboratory downloader drive google google-drive python3 torrent torrent-downloader torrent-stream

torrent-to-google-drive-downloader's Introduction

Present Languages and Tools:

Past Languages and Tools:



Stats about me

My github stats

torrent-to-google-drive-downloader's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

torrent-to-google-drive-downloader's Issues

download as zip file

hi brother
when i download torrent file,it save as a folder
and if i want dowload folder,google drive zips folder and i can download it as zip file but it take more time
is any way that i download torrent file as zip file to drive directly?

How

How to delete after disk full?

IP address broadcasting

Hello,
I've been using this awesome code to get my most of job done. However my question is, does it leak my IP address like normal torrent client? or it just uses Google's server IP?

Thank you for your time and help.

runtime error

i got this error after 100% uploading my torrent file. And can't run the cell for start downloading.


RuntimeError Traceback (most recent call last)
in ()
4 params = {
5 "save_path": "/content/drive/My Drive/Torrent",
----> 6 "ti": lt.torrent_info(list(source.keys())[0]),
7 }
8 downloads.append(ses.add_torrent(params))

RuntimeError: bencoded item count limit exceeded

ImportError (Google Colab libtorrent)

Using Google Colab I wasn't able to import libtorrent

!apt install python3-libtorrent

Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-libtorrent is already the newest version (1.1.5-1build1).
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.

import libtorrent as lt


ImportError Traceback (most recent call last)

in ()
----> 1 import libtorrent as lt

ImportError: /usr/local/lib/python3.6/dist-packages/.libslibtorrent/libboost_python36-bcd7eead.so.1.67.0: undefined symbol: PyClass_Type


NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.


[Request] Add option to download multiple magnet

Hello,

This is great way to download torrent using google's computing power. However can you please make a way to download multiple magnet link at a time. As we're using google's server power, I think it will be a great way to use its resource to the full capacity.

Thank you for your time and consideration.

[REQ] + HELP

so there is a part where "PASTE TORRENT/MAGNET LINK HERE ",the question is how to paste the torrent file, then is it possible if we choose a specific file inside a torrent

Team drive

Hi,
I have been wondering, is there a way to download directly to team drive?

list index out of range

Can't download torrents with many large files, also is there a way to run locally so that I'm not bound by colab's restrictions?


IndexError Traceback (most recent call last)
in ()
64 'storage_mode': lt.storage_mode_t(2),
65 }
---> 66 download_torrent()
67
68 print('\nALL DONE!')

in download_torrent()
29 state_str = ['queued', 'checking', 'downloading metadata',
30 'downloading', 'finished', 'seeding', 'allocating']
---> 31 print('%.2f%% complete (down: %.1f kb/s up: %.1f kB/s peers: %d) %s ' % (s.progress * 100, s.download_rate / 1000, s.upload_rate / 1000, s.num_peers, state_str[s.state]))
32 time.sleep(5)
33

IndexError: list index out of range

Save to Drive

Is there any step that needs to be performed for the torrent to get saved in the Drive, because I downloaded a torrent using the procedure but there's nothing reflecting in my drive. The download completed successfully it still hasn't appeared on my drive

Feature Request: Multiple torrents downloading at once

Hey, I was thinking and this would be a pretty good Idea. We could repeatedly ask the user if they wanted to enter another torrent (Like the javascript for() statement) and we could break out once the user says no and then we could call a function that starts the downloading with values to zip the torrent or not and the magnet of the torrent. I think this is a really great idea.

Tomorrow is the last day of school for me, so I may be able to get this done. I wont be able to work during the summer, sorry.

Unable to work on different websites

When i run the code, i saw that only link from "YTS" website is working on it. I tried different another torrent website and different link. It shows "downloading metadata" always even after an hour.

Download into the shared drive rather than my drive

i have a shared drive with lots of space than my default google drive. so is there any way i can download directly into the shared drive rather than my drive. i tried changing the savepath in add torrent file code but throws an error.

How do i add torrent trackers in colab?

I want to add torrent trackers in colab because my downloading speed in colab is 0.00kbps and when i add trackers in uTorrent for the same torrent speed increased but how can i add those trackers in colab as well so that my download catch some speed.

WebTorrent

is it possible to use web torrent to stream torrents instead of downloading them.

Consider making this change

Consider replacing "link = \"https://yts.lt/torrent/download/866BDCFA006930A718ADBC21D8CAE1F2C7F9D8B3\" # PASTE TORRENT/MAGNET LINK HERE\n", with link = input("Input Torrent Link or Magnet and Press Enter")

It will ask the user to input the link and then download the link that they inputted.
It makes it more simple to paste the link

Seeding

Hey,
I just wanted to know that if I download a torrent does it seed after downloading. Using private torrents for downloading is pretty much hard because they are demand seeding and ratio of .5

Please add seeding option if not available.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.