Git Product home page Git Product logo

maxxrider / leech-pro Goto Github PK

View Code? Open in Web Editor NEW
438.0 13.0 1.6K 722 KB

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.

Home Page: https://t.me/telegram.dog/MaxxRider

License: GNU Affero General Public License v3.0

Python 97.42% Dockerfile 0.45% Shell 2.13%

leech-pro's Introduction

MAXX LEECH V2

Maxx

Don't Kill Heroku please โ˜น๏ธ

MAXX LEECH

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)
โœ“

Maxx ๐Ÿ‘‡

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).

Maxx

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

Maxx

๐Ÿ”ด Currently Support HEORKO . But not permanent โ˜น๏ธ๐Ÿคง Coz Heroku won't allow Torrent Things.

ARE YOU NEW ??? Then READ Full ๐Ÿ‘‰ Instructions

๐Ÿคง Before Deploy ๐—ฃ๐—น๐—ฒ๐—ฎ๐˜€๐—ฒ ๐—›๐—ถ๐˜ ๐—ฆ๐˜๐—ฎ๐—ฟ โ˜… else you are Gay

MaxxRider

CREDITS

leech-pro's People

Contributors

akshaychinnan avatar cihanvol avatar cipherx7 avatar cybernobie avatar gautamajay52 avatar kgk06 avatar maxxrider avatar mrvishal2k2 avatar ninjatg avatar onlychecking avatar rangozex avatar sayanthd avatar sobuj53 avatar spechide avatar weebzoneindia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

leech-pro's Issues

Error in the logs

It brings error in the logs...how do i fix that? See attached photo

SmartSelect_20210923-175344_Via

Not Able To Clone This Repo

Tried with my github account password :-

ubuntu@ubuntu:~$ git clone https://github.com/gautamajay52/TorrentLeech-Gdrive torrentleech-gdrive
Cloning into 'torrentleech-gdrive'...
Username for 'https://github.com': Rajeshsahoo12
Password for 'https://[email protected]':
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: Authentication failed for 'https://github.com/gautamajay52/TorrentLeech-Gdrive/'

Tried with my github personal access token :-

ubuntu@ubuntu:~$ git clone https://github.com/gautamajay52/TorrentLeech-Gdrive torrentleech-gdrive
Cloning into 'torrentleech-gdrive'...
Username for 'https://github.com': Rajeshsahoo12
Password for 'https://[email protected]':
remote: Access to this repository has been disabled by GitHub staff.
remote: If you are the repository owner, you can contact support via
remote: https://support.github.com/contact for more information.
fatal: unable to access 'https://github.com/gautamajay52/TorrentLeech-Gdrive/': The requested URL returned error: 403

MX PLAYER videos

How to MX PLAYER and hot star and other content videos download please tell me

feature requests of auto detect link

feature requests of auto detect link mirror torrent or youtube link like spechide repo they have feature auto link detect button. add this feature

Problem

Status command is not working.... please fix it

Crashed sur

๐Ÿ˜‚ where is start.sh file
It totally crashed

OneDrive URL Error

bot not giving onedrive url's after upload completes ...its gives a gdrive url.... is there any solution fo it...

Ytdl Telegram Uploading is not Working

I just checked /ytdl command with multiple links and its stucks after downloading.

/gytdl command works fine.That means somesort of problem in uploading to telegram.Also /leech command is working fine.I am putting my error logs below.please fix it

2021-07-23T03:02:32.244825+00:00 app[worker.1]:     await youtube_dl_call_back(bot, update)
2021-07-23T03:02:32.244825+00:00 app[worker.1]:   File "/app/tobrot/helper_funcs/youtube_dl_button.py", line 185, in youtube_dl_call_back
2021-07-23T03:02:32.244825+00:00 app[worker.1]:     final_response = await upload_to_tg(
2021-07-23T03:02:32.244826+00:00 app[worker.1]:   File "/app/tobrot/helper_funcs/upload_to_tg.py", line 80, in upload_to_tg
2021-07-23T03:02:32.244826+00:00 app[worker.1]:     await upload_to_tg(
2021-07-23T03:02:32.244827+00:00 app[worker.1]:   File "/app/tobrot/helper_funcs/upload_to_tg.py", line 122, in upload_to_tg
2021-07-23T03:02:32.244827+00:00 app[worker.1]:     sent_message = await upload_single_file(
2021-07-23T03:02:32.244827+00:00 app[worker.1]:   File "/app/tobrot/helper_funcs/upload_to_tg.py", line 330, in upload_single_file
2021-07-23T03:02:32.244828+00:00 app[worker.1]:     progress=prog.progress_for_pyrogram,
2021-07-23T03:02:32.244828+00:00 app[worker.1]: UnboundLocalError: local variable 'prog' referenced before assignment

Kangers Should Be Ashamed

da538a7

you guys Should Be Ashamed for Copying my repo And Besides i can report it to github and take down This Repo With Proofs If i submit

Question

Does this bot support direct link? like aria2c?

Split feature

photo_2021-07-24_12-32-58
there's a problem , when I give a link to leech that have 3.2GB , it doesn't split it in 2 like one has 2GB and the other has 1.2GB , it's spliting it to 5 files or more, like in this pictures
Capture
Capture1

IndexError: list index out of range

Bot stuck at ๐Ÿ”Š Now Uploading to โ˜๏ธ Cloud!!!
Even the download isn't successful looking at the size mentioned 1.19KB, while it's a 17MB file.

Logs:-

Scaled to worker@0:Free by user 
Scaled to worker@1:Free by user 
 11-May-22 01:10:33 - INFO - https://file-examples.com/wp-content/uploads/2017/04/file_example_MP4_1920_18MG.mp4 [incoming_message_fn.py:79]
 11-May-22 01:10:34 - INFO - ['aria2c', '--conf-path=/app/tobrot/aria2/aria2.conf', '--allow-overwrite=true', '--daemon=true', '--enable-rpc', '--disk-cache=0', '--follow-torrent=mem', '--max-connection-per-server=16', '--min-split-size=10M', '--rpc-listen-all=false', '--rpc-listen-port=6800', '--rpc-max-request-size=1024M', '--seed-ratio=0.01', '--seed-time=1', '--max-overall-upload-limit=2M', '--split=16', '--bt-stop-timeout=600'] [download_aria_p_n.py:68]
 11-May-22 01:10:35 - INFO - 3b08741c8c1b8ab4 [download_aria_p_n.py:185]
 11-May-22 01:10:50 - INFO - Downloaded Successfully: `file_example_MP4_1920_18MG.mp4 (1.19 KiB)` ๐Ÿค’ [download_aria_p_n.py:326]
 11-May-22 01:11:07 - ERROR - list index out of range [dispatcher.py:235]
 Traceback (most recent call last):
   File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 222, in handler_worker
     await handler.callback(self.client, *args)
   File "/app/tobrot/plugins/incoming_message_fn.py", line 120, in incoming_message_f
     sagtus, err_message = await call_apropriate_function(
   File "/app/tobrot/helper_funcs/download_aria_p_n.py", line 256, in call_apropriate_function
     await upload_to_gdrive(
   File "/app/tobrot/helper_funcs/upload_to_tg.py", line 156, in upload_to_gdrive
     gUP = re.findall("\[(.*)\]", con)[0]
 IndexError: list index out of range

Heroku support

Looks like Heroku is not supported anymore. Account got banned within minutes of deploying.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.