diff --git a/README.md b/README.md index 6d4eaaf1e6b..b66e4dae09e 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ![Docker Pulls](https://img.shields.io/docker/pulls/breakdowns/mega-sdk-python?label=Docker%20Pull) [![Channel](https://img.shields.io/badge/Join%20Channel-!-red)](https://t.me/SlamMirrorUpdates) -**Slam Mirror Bot** is a _multipurpose_ Telegram Bot written in Python for mirroring/leeching files on the Internet to our beloved Google Drive. Based on [python-aria-mirror-bot](https://github.com/lzzy12/python-aria-mirror-bot) +**Slam Mirror Bot** is a _multipurpose_ Telegram Bot written in Python for mirroring files on the Internet to our beloved Google Drive. Based on [python-aria-mirror-bot](https://github.com/lzzy12/python-aria-mirror-bot) # Features:
@@ -204,11 +204,24 @@ qbmirror - Start Mirroring using qBittorrent qbtarmirror - Start mirroring and upload as .tar using qb qbzipmirror - Start mirroring and upload as .zip using qb qbunzipmirror - Extract files using qBittorrent +leech - Leech Torrent/Direct link +tarleech - Leech Torrent/Direct link and upload as .tar +zipleech - Leech Torrent/Direct link and upload as .zip +unzipleech - Leech Torrent/Direct link and extract +qbleech - Leech Torrent/Direct link using qBittorrent +qbtarleech - Leech Torrent/Direct link and upload as .tar using qb +qbzipleech - Leech Torrent/Direct link and upload as .zip using qb +qbunzipleech - Leech Torrent/Direct link and extract using qb clone - Copy file/folder to Drive count - Count file/folder of Drive link watch - Mirror Youtube-dl supported link tarwatch - Mirror Youtube playlist link and upload as .tar zipwatch - Mirror Youtube playlist link and upload as .zip +leechwatch - Leech through Youtube-dl supported link +leechtarwatch - Leech Youtube playlist link and upload as .tar +leechzipwatch - Leech Youtube playlist link and upload as .zip +leechset - Leech settings +leechset - Set Thumbnail status - Get Mirror Status message list - [query] Searches files in Drive cancel - Cancel a task diff --git a/bot/__main__.py b/bot/__main__.py index 205ee0898f0..b6b23b8d539 100644 --- a/bot/__main__.py +++ b/bot/__main__.py @@ -105,21 +105,21 @@ def log(update, context):

/{BotCommands.QbUnzipMirrorCommand} [magnet_link]: Starts mirroring using qBittorrent and if downloaded file is any archive, extracts it to Google Drive

-/{BotCommands.LeechCommand} This command should be used as reply to Magnet link, Torrent link, or 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] +/{BotCommands.LeechCommand}: This command should be used as reply to Magnet link, Torrent link, or 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]

-/{BotCommands.TarLeechCommand} This command should be used as reply to Magnet link, Torrent link, or Direct link and upload it as (.tar). [this command will SPAM the chat and send the downloads a seperate files, if there is more than one file, in the specified Torrent] +/{BotCommands.TarLeechCommand}: This command should be used as reply to Magnet link, Torrent link, or Direct link and upload it as (.tar). [this command will SPAM the chat and send the downloads a seperate files, if there is more than one file, in the specified Torrent]

-/{BotCommands.ZipLeechCommand} This command should be used as reply to Magnet link, Torrent link, or Direct link and upload it as (.zip). [this command will SPAM the chat and send the downloads a seperate files, if there is more than one file, in the specified Torrent] +/{BotCommands.ZipLeechCommand}: This command should be used as reply to Magnet link, Torrent link, or Direct link and upload it as (.zip). [this command will SPAM the chat and send the downloads a seperate files, if there is more than one file, in the specified Torrent]

-/{BotCommands.UnzipLeechCommand} This command should be used as reply to Magnet link, Torrent link, or Direct link and if file is any archive, extracts it. [this command will SPAM the chat and send the downloads a seperate files, if there is more than one file, in the specified Torrent] +/{BotCommands.UnzipLeechCommand}: This command should be used as reply to Magnet link, Torrent link, or Direct link and if file is any archive, extracts it. [this command will SPAM the chat and send the downloads a seperate files, if there is more than one file, in the specified Torrent]

-/{BotCommands.QbLeechCommand} This command should be used as reply to Magnet link, Torrent link, or Direct link using qBittorrent. [this command will SPAM the chat and send the downloads a seperate files, if there is more than one file, in the specified Torrent] +/{BotCommands.QbLeechCommand}: This command should be used as reply to Magnet link, Torrent link, or Direct link using qBittorrent. [this command will SPAM the chat and send the downloads a seperate files, if there is more than one file, in the specified Torrent]

-/{BotCommands.QbTarLeechCommand} This command should be used as reply to Magnet link, Torrent link, or Direct link and upload it as (.tar) using qBittorrent. [this command will SPAM the chat and send the downloads a seperate files, if there is more than one file, in the specified Torrent] +/{BotCommands.QbTarLeechCommand}: This command should be used as reply to Magnet link, Torrent link, or Direct link and upload it as (.tar) using qBittorrent. [this command will SPAM the chat and send the downloads a seperate files, if there is more than one file, in the specified Torrent]

-/{BotCommands.QbZipLeechCommand} This command should be used as reply to Magnet link, Torrent link, or Direct link and upload it as (.zip) using qBittorrent. [this command will SPAM the chat and send the downloads a seperate files, if there is more than one file, in the specified Torrent] +/{BotCommands.QbZipLeechCommand}: This command should be used as reply to Magnet link, Torrent link, or Direct link and upload it as (.zip) using qBittorrent. [this command will SPAM the chat and send the downloads a seperate files, if there is more than one file, in the specified Torrent]

-/{BotCommands.QbUnzipLeechCommand} This command should be used as reply to Magnet link, Torrent link, or Direct link and if file is any archive, extracts it using qBittorrent. [this command will SPAM the chat and send the downloads a seperate files, if there is more than one file, in the specified Torrent] +/{BotCommands.QbUnzipLeechCommand}: This command should be used as reply to Magnet link, Torrent link, or Direct link and if file is any archive, extracts it using qBittorrent. [this command will SPAM the chat and send the downloads a seperate files, if there is more than one file, in the specified Torrent]

/{BotCommands.CloneCommand} [drive_url]: Copy file/folder to Google Drive

@@ -133,15 +133,15 @@ def log(update, context):

/{BotCommands.ZipWatchCommand} [youtube-dl supported link]: Mirror through youtube-dl and zip before uploading

-/{BotCommands.LeechWatchCommand} Leech through youtube-dl +/{BotCommands.LeechWatchCommand}: Leech through youtube-dl

-/{BotCommands.LeechTarWatchCommand} Leech through youtube-dl and tar before uploading +/{BotCommands.LeechTarWatchCommand}: Leech through youtube-dl and tar before uploading

-/{BotCommands.LeechZipWatchCommand} Leech through youtube-dl and zip before uploading +/{BotCommands.LeechZipWatchCommand}: Leech through youtube-dl and zip before uploading

-/{BotCommands.LeechSetCommand} Leech Settings +/{BotCommands.LeechSetCommand}: Leech Settings

-/{BotCommands.SetThumbCommand} Reply to photo to set it as thumbnail for next uploads +/{BotCommands.SetThumbCommand}: Reply to photo to set it as Thumbnail

/{BotCommands.CancelMirror}: Reply to the message by which the download was initiated and that download will be cancelled

diff --git a/bot/modules/mirror.py b/bot/modules/mirror.py index 109418ba80d..28a3a95cdf9 100644 --- a/bot/modules/mirror.py +++ b/bot/modules/mirror.py @@ -205,13 +205,13 @@ def onUploadComplete(self, link: str, size, files, folders, typ): chat_id = str(self.message.chat.id) count = len(files) if OWNER_ID == int(chat_id): - msg = f'Name: {link}\n' - msg += f'Total Files: {count}' + msg = f'Name: {link}\n' + msg += f'Total Files: {count}' sendMessage(msg, self.bot, self.update) else: chat_id = chat_id[4:] - msg = f"Name: {link}\n" - msg += f'Total Files: {count}\n' + msg = f"Name: {link}\n" + msg += f'Total Files: {count}\n' msg += f'cc: {uname}\n\n' fmsg = '' for index, item in enumerate(list(files), start=1):