yamir3206 / TorrentLeechBot

A powerful telegram mirror bot..

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Telegram Leecher Bot

Update : Fixed Heroku Deployment Problem πŸ™‚ (OR solution here)

Note : If want some new features.. DM me here OR Join here and ask.


Bot logo

Join TorrentLeech Group for demo!

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)
Mandatory Variables
  • TG_BOT_TOKEN: Create a bot using @BotFather, and get the Telegram API token.

  • APP_ID

  • API_HASH: Get these two values from my.telegram.org/apps.

    • N.B.: if Telegram is blocked by your ISP, try our Telegram bot 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).

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.

Deploy on Heroku :-


"Item could not be created" error on Heroku and how to overcome it

Solution :

Star and fork this repo
Now go to your forked repo
Click on README.md edit button
Go to Deploy on Heroku section
Replace GopalSaraf with your github username in link
Commit the changes
Deploy the bot

About

A powerful telegram mirror bot..


Languages

Language:Python 98.9%Language:Shell 0.7%Language:Dockerfile 0.4%