https://github.com/MaxxRider/Leech-Pro
This is a Telegram Leech / Mirror Bot . Based on Python . ๐support of uploading files and foder to gdrive or any drive rclone.org support. Like onedrive, mega and so on. Now supports Unzip, unrar, untar too.
https://github.com/MaxxRider/Leech-Pro
Last synced: about 13 hours ago
JSON representation
This is a Telegram Leech / Mirror Bot . Based on Python . ๐support of uploading files and foder to gdrive or any drive rclone.org support. Like onedrive, mega and so on. Now supports Unzip, unrar, untar too.
- Host: GitHub
- URL: https://github.com/MaxxRider/Leech-Pro
- Owner: MaxxRider
- License: agpl-3.0
- Created: 2020-06-27T17:19:38.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-11-25T18:37:43.000Z (over 2 years ago)
- Last Synced: 2024-11-08T02:33:34.904Z (5 months ago)
- Language: Python
- Homepage: https://t.me/telegram.dog/MaxxRider
- Size: 705 KB
- Stars: 438
- Watchers: 14
- Forks: 1,581
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
- awesome - MaxxRider/Leech-Pro - This is a Telegram Leech / Mirror Bot . Based on Python . ๐support of uploading files and foder to gdrive or any drive rclone.org support. Like onedrive, mega and so on. Now supports Unzip, unrar, unt (Python)
README

## ๐ [Orginal Repository](https://github.com/gautamajay52/TorrentLeech-Gdrive)

## **Don't Kill Heroku please โน๏ธ**
[](https://telegram.dog/MaxxBots)
# Benefits :-
โ Google Drive link cloning using gclone.(wip)
โ 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
โ Get total size of your working cloud directory
โ You can also upload files downloaded from /ytdl command to gdrive using `/ytdl gdrive` command.
โ You can also deploy this on your VPS
โ Option to select either video will be uploaded as document or streamable
โ Added /renewme command to clear the downloads which are not deleted automatically.
โ Added support for youtube playlist ๐
โ Renaming of Telegram files support added. ๐
โ Changing rclone destination config on fly (By using `/rlcone` in private mode)
โ[](https://t.me/MaxxRiderz) ๐
##### Mandatory Variables
* `TG_BOT_TOKEN`: Create a bot using [@BotFather](https://telegram.dog/BotFather), and get the Telegram API token.
* `APP_ID`
* `API_HASH`: Get these two values from [my.telegram.org/apps](https://my.telegram.org/apps).
* N.B.: if Telegram is blocked by your ISP, try our [Telegram bot](https://telegram.dog/UseTGXBot) to get the IDs.* `AUTH_CHANNEL`: Create a Super Group in Telegram, add `@GoogleIMGBot` to the group, and send /id in the chat, to get this value.
* `OWNER_ID`: ID of the bot owner, He/she can be abled to access bot in bot only mode too(private mode).
[](https://t.me/MaxxBots)
##### Optional Configuration Variables
* `DOWNLOAD_LOCATION`
* `MAX_FILE_SIZE`
* `TG_MAX_FILE_SIZE`
* `FREE_USER_MAX_FILE_SIZE`
* `MAX_TG_SPLIT_FILE_SIZE`
* `CHUNK_SIZE`
* `MAX_MESSAGE_LENGTH`
* `PROCESS_MAX_TIMEOUT`
* `ARIA_TWO_STARTED_PORT`
* `EDIT_SLEEP_TIME_OUT`
* `MAX_TIME_TO_WAIT_FOR_TORRENTS_TO_START`
* `FINISHED_PROGRESS_STR`
* `UN_FINISHED_PROGRESS_STR`
* `TG_OFFENSIVE_API`
* `CUSTOM_FILE_NAME`
* `LEECH_COMMAND`
* `YTDL_COMMAND`
* `GYTDL_COMMAND`
* `GLEECH_COMMAND`
* `TELEGRAM_LEECH_COMMAND`
* `TELEGRAM_LEECH_UNZIP_COMMAND`
* `PYTDL_COMMAND`
* `CLONE_COMMAND_G`
* `UPLOAD_COMMAND`
* `RENEWME_COMMAND`
* `SAVE_THUMBNAIL`
* `CLEAR_THUMBNAIL`
* `GET_SIZE_G`
* `UPLOAD_AS_DOC`: Takes two option True or False. If True file will be uploaded as document. This is for people who wants video files as document instead of streamable.
* `INDEX_LINK`: (Without `/` at last of the link, otherwise u will get error) During creating index, plz fill `Default Root ID` with the id of your `DESTINATION_FOLDER` after creating. Otherwise index will not work properly.
* `DESTINATION_FOLDER`: Name of your folder in ur respective drive where you want to upload the files using the bot.
## Default Command (if you not put Optional vars in Heroku)
โข `/leech`
โข `/ytdl`
โข `/extract`
โข `/savethumbnail`
โข `/deletethumbnail`
โข `/playlist`
โข `/archive`
โข `/togglefile`
โข `/togglevideo`
โข `/rename`
โข `/renewme`
โข `/gleech`
โข `/gpytdl`
โข `/gleech_archive`
โข `/gleech_extract`
โข `/gclone`
โข `/cancel`
โข `/status`
[](https://t.me/MaxxBotChat)
๐ด Currently Support HEORKO . But not permanent โน๏ธ๐คง Coz Heroku won't allow Torrent Things.
## ARE YOU NEW ??? Then READ Full ๐ [Instructions](https://GitHub.com/MaxxRider/About-Leech)
๐คง Before Deploy ๐ฃ๐น๐ฒ๐ฎ๐๐ฒ ๐๐ถ๐ ๐ฆ๐๐ฎ๐ฟ โ else you are Gay
[](https://telegram.dog/MaxxRiderz)
## CREDITS- [GautamKumar](https://github.com/gautamajay52/TorrentLeech-Gdrive) ๐ฌ
- [SpEcHiDe](https://github.com/SpEcHiDe/PublicLeech) for his wonderful code๐
- [Rclone Team](https://rclone.org) for theirs awesome toolโ๏ธ
- [Dan Tรจs](https://telegram.dog/haskell) for his [Pyrogram Library](https://github.com/pyrogram/pyrogram)
- [Robots](https://telegram.dog/Robots) for their [@UploadBot](https://telegram.dog/UploadBot)
- [@AjeeshNair](https://telegram.dog/AjeeshNait) for his [torrent.ajee.sh](https://torrent.ajee.sh)
- [@gotstc](https://telegram.dog/gotstc), @aryanvikash, [@HasibulKabir](https://telegram.dog/HasibulKabir) for their TORRENT groups