For Support join here MoviezOnlySupport
Working example group Leech Here
A Telegram Torrent (and youtube-dl) Leecher based on Pyrogram
This is a leech to FILE repo! Leech to STREAM(video) availabe here > Patch-1
โ Telegram File mirrorring to cloud along with its unzipping, unrar and untar
โ Drive/Teamdrive support/All other cloud services rclone.org supports
โ Unzip
โ Unrar
โ Untar
โ Custom file name
โ Custom commands
Credit goes to SpEcHiDe for his Publicleech repo & GautamKumar for his repo
Simply clone the repository and run the main file:
git clone https://github.com/SpEcHiDe/PublicLeech.git
cd PublicLeech
virtualenv -p /usr/bin/python3 venv
. ./venv/bin/activate
pip install -r requirements.txt
# <Create config.py appropriately>
python3 -m tobrot
from tobrot.sample_config import Config
class Config(Config):
TG_BOT_TOKEN = ""
APP_ID = 6
API_HASH = "eb06d4abfb49dc3eeb1aeb98ae0f581e"
AUTH_CHANNEL = -1001234567890
YOU NEED UNLIMITED TEAM/SHARE DRIVE IN ORDER TO USE THE GDRIVE FUNCIONS Flawlessly (normal GDRIVE has 15 gb of storage only)
-
Download Rclone from Here > DOWNLOAD
-
Extract the downloaded zip file and run cmd(hold shift and right click) from the Extracted folder.
-
RUN rclone config and follow the onscreen instructions!
-
If done Correctly, you'll get some thing like this in the cmd ;
type = drive client_id = 55965362181-5105rlkk8dq8ej3iopmfc0.apps.googleusercontent.com client_secret = VOqihw0cqXPCdDo7UR scope = drive token = {"access_token":"ya29.a0ASMA0zZmcJHRao_Et9YqPrSRq0hZBdVElo4TUIP_1R6DJx4vWzd- 00MbrlZdmH3sTRnOYhseTsEqKXcBfleu4yTfpeTJjAmaUCYkIsYuEsj608ncZEM3QZVnjnA7c7- TeI","token_type":"Bearer","refresh_token":"1//0gOjRXzVHCgYIARAAGBASNwF-L9IrdBJRlXXUqUvOES7H4Ge3UDhy7mJLvJcROd9XQsI6e8zJsHQ88cw","expiry":"2020-07- 02T10:17:13.1076684+02:00"} team_drive = 0AAHdpck9PVA
-
Copy these entries from CMD and paste it in ' RCLONE_CONFIG ' {heroku var} - Don't try to copy paste the above string; It wont work ๐คฃ.
- Go to https://gdindex-code-builder.glitch.me/, and follow its instructions. Copy the code!
- Go to https://dash.cloudflare.com/c8bf985554bb03b455f683f8cafe25f2/workers/new and login/signup.
- Paste the code in script section. Then save and deploy.
- You'll get your GDIndex link.
- Add new key in HEROKU Vars - ' INDEX_LINK ' and add the above index link as value
HOPE Everything will be working by now! For any support ping me here > MoviezOnlySupport
INDEX_LINK
: (Without/
at last of the link, otherwise u will get error) During creating index, plz fillDefault Root ID
with the id of yourDESTINATION_FOLDER
after creating. Otherwise index will not work properly.
-
/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] -
/gleech
: This command should be used as reply to a magnetic link, a torrent link, or a direct link. And this will download the files from the given link or torrent and will upload to the drive using rclone. -
/gleech archive
This command will compress the folder/file and will upload to your google drive. -
/leech unzip
: This will unzip the .zip file and dupload to telegram. -
/gleech unzip
: This will unzip the .zip file and upload to drive. -
/leech unrar
: This will unrar the .rar file and dupload to telegram. -
/gleech unrar
: This will unrar the .rar file and upload to drive. -
/leech untar
: This will untar the .tar file and upload to telegram. -
/gleech untar
: This will untar the .tar file and upload to drive. -
/tleech
: This will mirror the telegram files to ur respective cloud drive. -
/tleech unzip
: This will unzip the .zip telegram file and upload to drive. -
/tleech unrar
: This will unrar the .rar telegram file and upload to drive. -
/tleech untar
: This will untar the .tar telegram file and upload to drive.
- Dan Tรจs for his Pyrogram Library
- Robots for their @UploadBot
- @AjeeshNair for his torrent.ajee.sh
- @gotstc, @aryanvikash, @HasibulKabir for their TORRENT groups