Skip to content

A Telegram Torrent and youtube-dl Leecher based on Pyrogram - UPDATED

License

Notifications You must be signed in to change notification settings

prgofficial/LeechToFile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Torrent Leecher 🔥🤖

A Telegram Torrent (and youtube-dl) Leecher based on Pyrogram

This is a leech to FILE repo! Leech to STREAM(video) availabe here > LEECH TO STREAM

For Support join here InFoTelGroup

Working example group -->> PROleecher

Benefits :-

✓ Telegram Torrent/Directlink leecher with its unzipping, unrar and untar
✓ Custom file name, thumbnail
✓ Custom commands
✓ Added /clearall command to clear the downloads which are not deleted automatically.
✓ Added support for youtube playlist ( use /pytdl )
✓ Added /getlog command to retrieve recent logs
✓ Added DISK details in /status commad.

Credit goes to SpEcHiDe for his Publicleech repo

Thank Gautam Kumar for the added Cool features 🤩

Installing

The Easy Way

Heroku Support removed temporarily!! Dont deploy, You'll get ban :(

The Legacy Way

Simply clone the repository and run the main file:

git clone https://github.com/prgofficial/LeechToFile
cd LeechToFile
virtualenv -p /usr/bin/python3 VENV
. ./VENV/bin/activate
pip install -r requirements.txt
# <Create config.py appropriately>
python3 -m tobrot

an example config.py 👇

from tobrot.sample_config import Config

class Config(Config):
  TG_BOT_TOKEN = ""
  APP_ID = 6
  API_HASH = "eb06d4abfb49dc3eeb1aeb98ae0f581e"
  AUTH_CHANNEL = -1001234567890

Available Commands

  • /ytdl: This command should be used as reply to a supported link

  • /leech: This command should be used as reply to a magnetic link, a torrent link, or a direct link. [this command will SPAM the chat and send the downloads a seperate files, if there is more than one file, in the specified torrent]

  • /leech archive: This command should be used as reply to a magnetic link, a torrent link, or a direct link. [This command will create a .tar.gz file of the output directory, and send the files in the chat, splited into PARTS of 1024MiB each, due to Telegram limitations]

  • /leech unzip: This will unzip the .zip file and dupload to telegram.

  • /leech unrar: This will unrar the .rar file and dupload to telegram.

  • /leech untar: This will untar the .tar file and upload to telegram.

Credits, and Thanks to

About

A Telegram Torrent and youtube-dl Leecher based on Pyrogram - UPDATED

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages