prgofficial / LeechToFile

A Telegram Torrent and youtube-dl Leecher based on Pyrogram - UPDATED
GNU Affero General Public License v3.0
45 stars 81 forks source link

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

Credits, and Thanks to