0 Members and 1 Guest are viewing this topic.
How To use COLAB..? complete Toutiral (Esy to understand Everyone) 1st Tutorial for only torrent.Follow me - Colab Official website Link-Visit The website-Code: You are not allowed to view links. Register or Loginhttps://colab.research.google.com/Alternative Link - [available but not working properly]Crate a new notebook and paste commends.Enter 1st script' then Crate a new notebook and paste commends.Enter 2nd script' Crate a new notebook and paste commends.Enter 3rd script.Complete.Drive TorrentTorrent to Google Drive Downloader-1st- script Mount Google DriveTo stream files we need to mount Google Drive.______________________________Code: You are not allowed to view links. Register or Loginfrom google.colab import drivedrive.mount('/content/drive')______________________________2nd script-Install Dependency.________________________Code: You are not allowed to view links. Register or Login!apt install python3-libtorrent__________________________Add Torrent and Start Download.3rd script-Add Torrent and Start Download.________________________________________________________Code: You are not allowed to view links. Register or Loginimport libtorrent as ltimport timeimport datetimeses = lt.session()ses.listen_on(6881, 6891)params = { 'save_path': '/content/drive/My Drive/Torrent/', 'storage_mode': lt.storage_mode_t(2), 'paused': False, 'auto_managed': True, 'duplicate_is_error': True}link = input("Enter Torrent/Magnet Link:")handle = lt.add_magnet_uri(ses, link, params)ses.start_dht()begin = time.time()print(datetime.datetime.now())print ('Downloading Metadata...')while (not handle.has_metadata()): time.sleep(1)print ('Got Metadata, Starting Torrent Download...')print("Starting", handle.name())while (handle.status().state != lt.torrent_status.seeding): s = handle.status() state_str = ['queued', 'checking', 'downloading metadata', \ 'downloading', 'finished', 'seeding', 'allocating'] 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])) time.sleep(5)end = time.time()print(handle.name(), "COMPLETE")print("Elapsed Time: ",int((end-begin)//60),"min :", int((end-begin)%60), "sec")print(datetime.datetime.now())__________________________Done' Start Torrent Download-
https://colab.research.google.com/
from google.colab import drivedrive.mount('/content/drive')
!apt install python3-libtorrent
import libtorrent as ltimport timeimport datetimeses = lt.session()ses.listen_on(6881, 6891)params = { 'save_path': '/content/drive/My Drive/Torrent/', 'storage_mode': lt.storage_mode_t(2), 'paused': False, 'auto_managed': True, 'duplicate_is_error': True}link = input("Enter Torrent/Magnet Link:")handle = lt.add_magnet_uri(ses, link, params)ses.start_dht()begin = time.time()print(datetime.datetime.now())print ('Downloading Metadata...')while (not handle.has_metadata()): time.sleep(1)print ('Got Metadata, Starting Torrent Download...')print("Starting", handle.name())while (handle.status().state != lt.torrent_status.seeding): s = handle.status() state_str = ['queued', 'checking', 'downloading metadata', \ 'downloading', 'finished', 'seeding', 'allocating'] 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])) time.sleep(5)end = time.time()print(handle.name(), "COMPLETE")print("Elapsed Time: ",int((end-begin)//60),"min :", int((end-begin)%60), "sec")print(datetime.datetime.now())
1st Tutorial for only torrent.Crate a new notebook and paste commends.Enter 1st script' then Crate a new notebook and paste commends.Enter 2nd script' Crate a new notebook and paste commends.Enter 3rd script.Complete.
---------------------------------------------------------------------------ModuleNotFoundError Traceback (most recent call last)<ipython-input-3-fdcd82f4f3c7> in <module>()----> 1 import libtorrent as lt 2 import time 3 import datetime 4 5 ses = lt.session()ModuleNotFoundError: No module named 'libtorrent'---------------------------------------------------------------------------NOTE: If your import is failing due to a missing package, you canmanually install dependencies using either !pip or !apt.
!python -m pip install --upgrade pip setuptools wheel!python -m pip install lbry-libtorrent
magnet:?xt=urn:btih:174C8F58C6105C91AB07C1370CEEFF6D04F17C1B&:---------------------------------------------------------------------------KeyError Traceback (most recent call last)<ipython-input-5-5d2863a0f333> in <module>() 15 link = input("magnet:?xt=urn:btih:174C8F58C6105C91AB07C1370CEEFF6D04F17C1B&:") 16 ---> 17 handle = lt.add_magnet_uri(ses, link, params) 18 ses.start_dht() 19 KeyError: 'unknown name in torrent params: paused'
how to download rapidgator.net file in colab, Please help
Is there any way to clean colab disk? I have only 50 Gb availabe out of 107 gb
You are not allowed to view links. Register or LoginIs there any way to clean colab disk? I have only 50 Gb availabe out of 107 gb 10 free possible.. Only..
You are not allowed to view links. Register or LoginYou are not allowed to view links. Register or LoginIs there any way to clean colab disk? I have only 50 Gb availabe out of 107 gb 10 free possible.. Only..Matlab?? Kuch samaj nhi aya bro..