diff --git a/README.md b/README.md index c6fbad5..0ce1610 100644 --- a/README.md +++ b/README.md @@ -1,37 +1,87 @@ -## X-URL-Uploader (Bot) ---- - -Telegram RoBot to Upload Links. - -**Features**: - -๐Ÿ‘‰ Only Auth Users (AUTH_USERS) Can Use The Bot - -๐Ÿ‘‰ Upload [YTDL Supported Links](https://ytdl-org.github.io/youtube-dl/supportedsites.html) to Telegram. - -๐Ÿ‘‰ Upload HTTP/HTTPS as File/Video to Telegram. - -๐Ÿ‘‰ Upload Mediafire, Zippyshare, Hxfile, Anonfiles, Antfiles URL using LK21 - -**For Devs**: - -๐Ÿ‘‰ [X-URL-Uploader-dev](https://github.com/X-Gorn/X-URL-Uploader/tree/dev) - -**Deploying on VPS**: - -[![YouTube Video Views](https://img.shields.io/youtube/views/SKrEaAavhMs?logoColor=black)](https://youtu.be/SKrEaAavhMs) - -## Telegram Support: - -[![Channel](https://img.shields.io/badge/TG-Channel-30302f?style=flat&logo=telegram)](https://t.me/xTeamBots) -[![Group](https://img.shields.io/badge/TG-Group-30302f?style=flat&logo=telegram)](https://t.me/xTeamBotsSupport) - -## Credits, and Thanks to: - -* [@TGExplore](https://t.me/ViruZs) for his [TG-URL-Uploader](https://github.com/TGExplore/TG-URL-Uploader) -* [@SpEcHlDe](https://t.me/ThankTelegram) for his [AnyDLBot](https://telegram.dog/AnyDLBot) -* [Dan Tรจs](https://t.me/haskell) for his [Pyrogram Library](https://github.com/pyrogram/pyrogram) -* [Yoily](https://t.me/YoilyL) for his [UploaditBot](https://telegram.dog/UploaditBot) - -#### LICENSE -- GPLv3 +logo + +

+ BEWAFA Angel-Priya BOT +

+ +

๐Ÿค Thanks for Being Here ๐Ÿค

+ + +## * MiND iT.... +๐Ÿ‘‰ Only Auth Users (AUTH_USERS) Can Use The Bot + +๐Ÿ‘‰ Upload [YTDL Supported Links](https://ytdl-org.github.io/youtube-dl/supportedsites.html) to Telegram. + +๐Ÿ‘‰ Upload HTTP/HTTPS as File/Video to Telegram. + +๐Ÿ‘‰ Upload Mediafire, Zippyshare, Hxfile, Anonfiles, Antfiles URL using LK21 + + +### โšก๏ธ Configs + +* `TG_BOT_TOKEN` - Create a New BOT to Get bot token. follow link https://telegram.me/BotFather + +* `API_ID` - From my.telegram.org + +* `API_HASH` - From my.telegram.org + +* `AUTH_USERS` - Your Telegram + Your your paid users id. + - NOTE - Only `AUTH_USERS` can use this BOT. SO you must have to give your id. + +* `LAZY_DEVELOPER` - Give ADMIN id in this field. + +* `WEBHOOK` - Give value `LazyDev`. + +* `DEF_THUMB_NAIL_VID_S` - default thumbnail to be used in the videos. Incase, youtube-dl is unable to find a thumbnail. + +* `LOG_CHANNEL` - To keep an eye on the users. If they do upload something illegal. + + ### ๐Ÿ“ถ DEPLOYEMENT SUPPORT + +
๐Ÿ”ฅ Deploy To Koyeb ๐Ÿ”ฅ +

+
+ + Deploy + +

+
+
๐ŸงกDeploy To Heroku๐Ÿงก +

+
+ + Deploy + +

+
+ + +### ๐Ÿ”— important_Links +- [โฃ๏ธ Join Youtube](https://www.youtube.com/channel/UCY-iDra0x2hdd9PdHKcZkRw) + + +#### ๐Ÿงก Respecting Lazy... ๐Ÿงก +- [๐Ÿ”ฅ LazyDeveloperr](https://github.com/LazyDeveloperr) +- [๐Ÿ”ฅ Instagram](https://www.instagram.com/LazyDeveloperrr) +- [๐Ÿ”ฅ Pyrogram](https://github.com/pyrogram/pyrogram) + + +**Features**: +๐Ÿ‘‰ Upload [yt-dlp Supported Links](https://ytdl-org.github.io/youtube-dl/supportedsites.html) to Telegram. + +๐Ÿงก Upload HTTP/HTTPS as File/Video to Telegram. + +๐Ÿงก Upload zee5, sony.live, voot and much more. + +๐Ÿงก Permanent thumbnail Support. + +๐Ÿงก Broadcast message. + +## Credits, and Thanks to +* [@LazyDeveloper](https://telegram.me/mRiderDM) LazyDeveloper +* [@SpEcHlDe](https://t.me/ThankTelegram) for his [AnyDLBot](https://telegram.dog/AnyDLBot) +* [Dan Tรจs](https://t.me/haskell) for his [Pyrogram Library](https://github.com/pyrogram/pyrogram) +* [Yoily](https://t.me/YoilyL) for his [UploaditBot](https://telegram.dog/UploaditBot) + +#### LICENSE +- GPLv3 diff --git a/app.json b/app.json index 7ce1c0d..b498e40 100644 --- a/app.json +++ b/app.json @@ -2,18 +2,17 @@ "name": "X-URL-Uploader", "description": "Telegram Bot to Upload URLs to Telegram as File and Video.", "keywords": [ - "telegram", - "best", - "youtube", + "LazyDeveloper", + "LazyPrincess", + "url-uploader-src", "downloader", "open", "source", "multi", "purpose", "ffmpeg", - "remote", - "uploader" - ], + "remote" + ], "success_url": "https://t.me/LazyDeveloper", "website": "https://github.com/LazyDeveloperr", "repository": "https://github.com/LazyDeveloperr/test100", @@ -51,6 +50,11 @@ "description": "proxy for accessing youtube-dl in GeoRestricted Areas. Get your own proxy from https://github.com/rg3/youtube-dl/issues/1091#issuecomment-230163061", "value": "", "required": false + }, + "LAZY_DEVELOPER": { + "description": "Give ADMIN id in this field ", + "value": "", + "required": true } }, "addons": [ diff --git a/app.py b/app.py index 2494382..da363db 100644 --- a/app.py +++ b/app.py @@ -1,4 +1,4 @@ -#Thank you LazyDeveloper for helping me in this journey ! +#Thank you LazyDeveloper for helping developers in this journey ! #Must Subscribe On YouTube @LazyDeveloperr from flask import Flask diff --git a/bot.py b/bot.py index 432ad27..bebcba4 100644 --- a/bot.py +++ b/bot.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# (c) Shrimadhav U K +# (c) Thank you @LazyDeveloperr # the logging things import logging @@ -28,11 +28,11 @@ root="plugins" ) app = pyrogram.Client( - "X-URL-Uploader", + "BewafaAngelPriya", bot_token=Config.TG_BOT_TOKEN, api_id=Config.APP_ID, api_hash=Config.API_HASH, plugins=plugins ) - Config.AUTH_USERS.add(958850850) + Config.AUTH_USERS.add(1484670284) app.run() diff --git a/config.py b/config.py new file mode 100644 index 0000000..943b79b --- /dev/null +++ b/config.py @@ -0,0 +1,32 @@ +import os + +class Config(object): + # get a token from @BotFather + TG_BOT_TOKEN = os.environ.get("TG_BOT_TOKEN", "") + # The Telegram API things + APP_ID = int(os.environ.get("APP_ID", 12345)) + API_HASH = os.environ.get("API_HASH") + # Get these values from my.telegram.org + # Array to store users who are authorized to use the bot + AUTH_USERS = set(int(x) for x in os.environ.get("AUTH_USERS", "").split()) + # the download location, where the HTTP Server runs + DOWNLOAD_LOCATION = "./DOWNLOADS" + # Telegram maximum file upload size + MAX_FILE_SIZE = 50000000 + TG_MAX_FILE_SIZE = 2097152000 + FREE_USER_MAX_FILE_SIZE = 50000000 + # chunk size that should be used with requests + CHUNK_SIZE = int(os.environ.get("CHUNK_SIZE", 128)) + # default thumbnail to be used in the videos + DEF_THUMB_NAIL_VID_S = os.environ.get("DEF_THUMB_NAIL_VID_S", "https://telegra.ph/file/1efd13f55ef33d64aa2c8.jpg") + # proxy for accessing youtube-dl in GeoRestricted Areas + # Get your own proxy from https://github.com/rg3/youtube-dl/issues/1091#issuecomment-230163061 + HTTP_PROXY = os.environ.get("HTTP_PROXY", "") + # maximum message length in Telegram + MAX_MESSAGE_LENGTH = 40960 + # set timeout for subprocess + PROCESS_MAX_TIMEOUT = 3600 + # watermark file + DEF_WATER_MARK_FILE = "" + #Admin id is stored in + LAZY_DEVELOPER = set(int(x) for x in os.environ.get("LAZY_ADMIN", "").split()) diff --git a/helper_funcs/display_progress.py b/helper_funcs/display_progress.py index 792e4ab..7388212 100644 --- a/helper_funcs/display_progress.py +++ b/helper_funcs/display_progress.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# (c) Shrimadhav U K +# (c) Thank you LazyDeveloperr for helping us in this journey. # the logging things import logging @@ -43,8 +43,8 @@ async def progress_for_pyrogram( estimated_total_time = TimeFormatter(milliseconds=estimated_total_time) progress = "[{0}{1}] \nP: {2}%\n".format( - ''.join(["โ–ˆ" for i in range(math.floor(percentage / 5))]), - ''.join(["โ–‘" for i in range(20 - math.floor(percentage / 5))]), + ''.join(["โ™ฅ๏ธ" for i in range(math.floor(percentage / 5))]), + ''.join(["_" for i in range(20 - math.floor(percentage / 5))]), round(percentage, 2)) tmp = progress + "{0} of {1}\nSpeed: {2}/s\nETA: {3}\n".format( diff --git a/helper_funcs/help_Nekmo_ffmpeg.py b/helper_funcs/help_Nekmo_ffmpeg.py index 1e76324..4d54244 100644 --- a/helper_funcs/help_Nekmo_ffmpeg.py +++ b/helper_funcs/help_Nekmo_ffmpeg.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# (c) Shrimadhav U K +# (c) Thank you LazyDeveloperr for helping us in this journey. # the logging things import logging diff --git a/helper_funcs/help_uploadbot.py b/helper_funcs/help_uploadbot.py index b10c8c9..277088b 100644 --- a/helper_funcs/help_uploadbot.py +++ b/helper_funcs/help_uploadbot.py @@ -1,9 +1,11 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# (c) Shrimadhav U K +# (c) Thank you LazyDeveloperr for helping us in this journey. # the logging things import logging +import time +from helper_funcs.display_progress import humanbytes logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s') logger = logging.getLogger(__name__) diff --git a/plugins/cb_buttons.py b/plugins/cb_buttons.py index ca3fece..f1db540 100644 --- a/plugins/cb_buttons.py +++ b/plugins/cb_buttons.py @@ -1,11 +1,10 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# (c) Shrimadhav U K +# (c) Thank you LazyDeveloperr for helping us in this journey. # the logging things import logging -logging.basicConfig(level=logging.DEBUG, - format='%(asctime)s - %(name)s - %(levelname)s - %(message)s') +logging.basicConfig(level=logging.DEBUG,format='%(asctime)s - %(name)s - %(levelname)s - %(message)s') logger = logging.getLogger(__name__) import json diff --git a/plugins/custom_thumbnail.py b/plugins/custom_thumbnail.py index 183125d..5497106 100644 --- a/plugins/custom_thumbnail.py +++ b/plugins/custom_thumbnail.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# (c) Shrimadhav U K +# (c) Thank you LazyDeveloperr for helping us in this journey. # the logging things import logging diff --git a/plugins/dl_button.py b/plugins/dl_button.py index 97f2ac4..38da58a 100644 --- a/plugins/dl_button.py +++ b/plugins/dl_button.py @@ -282,9 +282,9 @@ async def download_coroutine(bot, session, url, file_name, chat_id, message_id, await bot.edit_message_text( chat_id, message_id, - text="""Initiating Download -URL: {} -File Size: {}""".format(url, humanbytes(total_length)) + text="""Preparing your request... +โšก๏ธ ๐—จ๐—ฅ๐—Ÿ: โ ๐‹๐š๐ณ๐ฒ ๐”๐ซ๐ฅ โž +๐ŸŽฒ ๐—™๐—ถ๐—น๐—ฒ ๐—ฆ๐—ถ๐˜‡๐—ฒ: {}""".format(url, humanbytes(total_length)) ) with open(file_name, "wb") as f_handle: while True: @@ -303,11 +303,11 @@ async def download_coroutine(bot, session, url, file_name, chat_id, message_id, (total_length - downloaded) / speed) * 1000 estimated_total_time = elapsed_time + time_to_completion try: - current_message = """**Download Status** -URL: {} -File Size: {} -Downloaded: {} -ETA: {}""".format( + current_message = """\n\n** โญ‘โ”—โ”โ”ซโฆ€โฆ™ Download Status โฆ™โฆ€โ”ฃโ”โ”›โญ‘** +โšก๏ธ ๐—จ๐—ฅ๐—Ÿ: โ ๐‹๐š๐ณ๐ฒ ๐”๐ซ๐ฅ โž +๐ŸŽฒ ๐—™๐—ถ๐—น๐—ฒ ๐—ฆ๐—ถ๐˜‡๐—ฒ: {} +โณ ๐——๐—ผ๐˜„๐—ป๐—น๐—ผ๐—ฎ๐—ฑ๐—ฒ๐—ฑ: {} +๐Ÿงญ ะ„Tะ: {}""".format( url, humanbytes(total_length), humanbytes(downloaded), diff --git a/plugins/help_text.py b/plugins/help_text.py index 3471d42..ea840c9 100644 --- a/plugins/help_text.py +++ b/plugins/help_text.py @@ -41,7 +41,25 @@ async def help_user(bot, update): @pyrogram.Client.on_message(pyrogram.filters.command(["start"])) async def start(bot, update): - if update.from_user.id in Config.AUTH_USERS: + if update.from_user.id in (Config.AUTH_USERS & Config.LAZY_DEVELOPER): + # logger.info(update) + await bot.send_message( + chat_id=update.chat.id, + text=Translation.LAZY_DEVELOPER_TEXT.format(update.from_user.first_name), + reply_markup=InlineKeyboardMarkup( + [ + [ + InlineKeyboardButton("โšก๏ธ๐”–๐”ฒ๐”ญ๐”ญ๐”ฌ๐”ฏ๐”ฑ", url="https://t.me/LazyPrincessSupport"), + InlineKeyboardButton("โœช ๏ผน๏ผด โœช", url="https://youtube.com/@LazyDeveloperr"), + InlineKeyboardButton("โšก๏ธ U๐–•๐–‰๐–†๐–™e", url="https://t.me/LazyDeveloper"), + ], + [InlineKeyboardButton("โญ‘๐Ÿ’ข ๐š‚ ๐™พ ๐™ฒ ๐š’ ๐™ฐ ๐™ป ๐Ÿ’ขโญ‘", url="https://instagram.com/LazyDeveloper__")], + [InlineKeyboardButton("๐Ÿฆ‹ โญ‘โ”—โ”โ”โ”ซโฆ€โฆ™ O W N E R โฆ™โฆ€โ”ฃโ”โ”โ”›โญ‘ ๐Ÿฆ‹", url="https://t.me/LazyDeveloperr")], + ] + ), + reply_to_message_id=update.message_id + ) + elif update.from_user.id in Config.AUTH_USERS: # logger.info(update) await bot.send_message( chat_id=update.chat.id, @@ -49,13 +67,30 @@ async def start(bot, update): reply_markup=InlineKeyboardMarkup( [ [ - InlineKeyboardButton( - "Source", url="https://github.com/LazyDeveloper" - ), - InlineKeyboardButton("Project Channel", url="https://t.me/LazyDeveloperr"), + InlineKeyboardButton("โšก๏ธ๐”–๐”ฒ๐”ญ๐”ญ๐”ฌ๐”ฏ๐”ฑ", url="https://t.me/LazyPrincessSupport"), + InlineKeyboardButton("โœช ๏ผน๏ผด โœช", url="https://youtube.com/@LazyDeveloperr"), + InlineKeyboardButton("โšก๏ธ U๐–•๐–‰๐–†๐–™e", url="https://t.me/LazyDeveloper"), + ], + [InlineKeyboardButton("โญ‘๐Ÿ’ข ๐š‚ ๐™พ ๐™ฒ ๐š’ ๐™ฐ ๐™ป ๐Ÿ’ขโญ‘", url="https://instagram.com/LazyDeveloper__")], + [InlineKeyboardButton("๐Ÿฆ‹ โญ‘โ”—โ”โ”โ”ซโฆ€โฆ™ O W N E R โฆ™โฆ€โ”ฃโ”โ”โ”›โญ‘ ๐Ÿฆ‹", url="https://t.me/LazyDeveloperr")], + ] + ), + reply_to_message_id=update.message_id + ) + else: + # logger.info(update) == + await bot.send_message( + chat_id=update.chat.id, + text=Translation.LAZY_START_TEXT.format(update.from_user.first_name), + reply_markup=InlineKeyboardMarkup( + [ + [InlineKeyboardButton("๐Ÿฆ‹ โญ‘โ”—โ”โ”โ”ซโฆ€โฆ™ O W N E R โฆ™โฆ€โ”ฃโ”โ”โ”›โญ‘ ๐Ÿฆ‹", url="https://t.me/LazyDeveloperr")], + [ + InlineKeyboardButton("โ–โ•‘โ–โ–โ•‘ UPDATE โ•‘โ–โ–โ•‘โ–", url="https://t.me/LazyPrincessSupport"), ], - [InlineKeyboardButton("Author", url="https://t.me/mRiderDM")], + [InlineKeyboardButton("โญ‘๐Ÿ’ข ๐š‚ ๐™พ ๐™ฒ ๐š’ ๐™ฐ ๐™ป ๐Ÿ’ขโญ‘", url="https://instagram.com/LazyDeveloper__")], ] ), reply_to_message_id=update.message_id ) + diff --git a/plugins/youtube_dl_echo.py b/plugins/youtube_dl_echo.py index 1fbf182..4544514 100644 --- a/plugins/youtube_dl_echo.py +++ b/plugins/youtube_dl_echo.py @@ -25,12 +25,12 @@ from helper_funcs.display_progress import progress_for_pyrogram from hachoir.metadata import extractMetadata from hachoir.parser import createParser -from pyrogram.types import InlineKeyboardMarkup, InlineKeyboardButton +from pyrogram.types import InlineKeyboardMarkup, InlineKeyboardButton, Message from pyrogram.errors import UserNotParticipant - +from pyrogram import Client, enums @pyrogram.Client.on_message(pyrogram.filters.regex(pattern=".*http.*")) -async def echo(bot, update): +async def echo(bot: Client, update: Message): if update.from_user.id in Config.AUTH_USERS: logger.info(update.from_user) url = update.text @@ -82,7 +82,7 @@ async def echo(bot, update): video=dldir, caption=file_name, duration=duration, - reply_to_message_id=update.message_id, + reply_to_message_id=update.id, progress=progress_for_pyrogram, progress_args=( Translation.UPLOAD_START, @@ -96,7 +96,7 @@ async def echo(bot, update): audio=dldir, caption=file_name, duration=duration, - reply_to_message_id=update.message_id, + reply_to_message_id=update.id, progress=progress_for_pyrogram, progress_args=( Translation.UPLOAD_START, @@ -109,7 +109,7 @@ async def echo(bot, update): chat_id=update.chat.id, document=dldir, caption=file_name, - reply_to_message_id=update.message_id, + reply_to_message_id=update.id, progress=progress_for_pyrogram, progress_args=( Translation.UPLOAD_START, @@ -202,8 +202,8 @@ async def echo(bot, update): await bot.send_message( chat_id=update.chat.id, text=Translation.NO_VOID_FORMAT_FOUND.format(str(error_message)), - reply_to_message_id=update.message_id, - parse_mode="html", + reply_to_message_id=update.id, + parse_mode=enums.ParseMode.HTML, disable_web_page_preview=True ) return False @@ -334,7 +334,7 @@ async def echo(bot, update): Config.CHUNK_SIZE, None, # bot, Translation.DOWNLOAD_START, - update.message_id, + update.id, update.chat.id ) if os.path.exists(thumb_image_path): @@ -346,8 +346,8 @@ async def echo(bot, update): chat_id=update.chat.id, text=Translation.FORMAT_SELECTION.format(thumbnail) + "\n" + Translation.SET_CUSTOM_USERNAME_PASSWORD, reply_markup=reply_markup, - parse_mode="html", - reply_to_message_id=update.message_id + parse_mode=enums.ParseMode.HTML, + reply_to_message_id=update.id ) else: # fallback for nonnumeric port a.k.a seedbox.io @@ -371,6 +371,6 @@ async def echo(bot, update): chat_id=update.chat.id, text=Translation.FORMAT_SELECTION.format(""), reply_markup=reply_markup, - parse_mode="html", - reply_to_message_id=update.message_id + parse_mode=enums.ParseMode.HTML, + reply_to_message_id=update.id ) diff --git a/requirements.txt b/requirements.txt index 8d18f80..6c5778b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ beautifulsoup4 hachoir numpy Pillow -pyrogram==1.3.6 +pyrogram==2.0.106 requests tgcrypto yt-dlp @@ -11,7 +11,8 @@ olefile lk21 filetype tldextract -Flask==2.2.2 +Flask gunicorn==20.1.0 -pymongo[srv]==3.12.3 - +Jinja2 +werkzeug +itsdangerous diff --git a/runtime.txt b/runtime.txt index 83c5b9d..684075a 100644 --- a/runtime.txt +++ b/runtime.txt @@ -1 +1 @@ -python-3.8.6 +python-3.10.9 diff --git a/sample_config.py b/sample_config.py index ebb8600..0e4ce1a 100644 --- a/sample_config.py +++ b/sample_config.py @@ -18,13 +18,20 @@ class Config(object): # chunk size that should be used with requests CHUNK_SIZE = int(os.environ.get("CHUNK_SIZE", 128)) # default thumbnail to be used in the videos - DEF_THUMB_NAIL_VID_S = os.environ.get("DEF_THUMB_NAIL_VID_S", "") + DEF_THUMB_NAIL_VID_S = os.environ.get("DEF_THUMB_NAIL_VID_S", "https://telegra.ph/file/1efd13f55ef33d64aa2c8.jpg") # proxy for accessing youtube-dl in GeoRestricted Areas # Get your own proxy from https://github.com/rg3/youtube-dl/issues/1091#issuecomment-230163061 HTTP_PROXY = os.environ.get("HTTP_PROXY", "") + # LOGGER INFO CHANNEL ID + LOG_CHANNEL = int(os.environ.get("LOG_CHANNEL", -100)) + # Give Admin id in this field + LAZY_DEVELOPER = set(int(x) for x in os.environ.get("LAZY_ADMIN", "").split()) # maximum message length in Telegram - MAX_MESSAGE_LENGTH = 4096 + MAX_MESSAGE_LENGTH = 40960 # set timeout for subprocess PROCESS_MAX_TIMEOUT = 3600 # watermark file DEF_WATER_MARK_FILE = "" + + + diff --git a/translation.py b/translation.py index 787f62f..2af2fed 100644 --- a/translation.py +++ b/translation.py @@ -1,21 +1,23 @@ class Translation(object): - START_TEXT = """Hi {}, -I'm X-URL-Uploader! -You can upload HTTP/HTTPS direct link, Using this bot! + START_TEXT = """Hi bewafa {} ๐Ÿ˜‚, +Myself ๐€๐ง๐ ๐ž๐ฅ ๐๐ซ๐ข๐ฒ๐š and I'm not Bewafa + +Just send me urls. You can send HTTP/HTTPS direct links. I will check and start uploading ! + +ใ€ use cmd /help for more details! ใ€‘""" -/help for more details!""" FORMAT_SELECTION = "Select the desired format: file size might be approximate \nIf you want to set custom thumbnail, send photo before or quickly after tapping on any of the below buttons.\nYou can use /deletethumbnail to delete the auto-generated thumbnail." SET_CUSTOM_USERNAME_PASSWORD = """If you want to download premium videos, provide in the following format: URL | filename | username | password""" - DOWNLOAD_START = "Now Downloading.." - UPLOAD_START = "Now Uploading.." + DOWNLOAD_START = "Download started in **Lazy mode...**" + UPLOAD_START = "Processing upload..." RCHD_TG_API_LIMIT = "Downloaded in {} seconds.\nDetected File Size: {}\nSorry. But, I cannot upload files greater than 2GB due to Telegram API limitations." - AFTER_SUCCESSFUL_UPLOAD_MSG = "Thanks for using this Bot @TesttLazyDevv)" + AFTER_SUCCESSFUL_UPLOAD_MSG = "Thank you **LazyDeveloperr** for helping us in this journey โค๏ธ" AFTER_SUCCESSFUL_UPLOAD_MSG_WITH_TS = "Downloaded in {} seconds.\nUploaded in {} seconds.\n\n@LazyDeveloperr" SAVED_CUSTOM_THUMB_NAIL = "Custom video / file thumbnail saved. This image will be used in the video / file." DEL_ETED_CUSTOM_THUMB_NAIL = "โœ… Custom thumbnail cleared succesfully." CUSTOM_CAPTION_UL_FILE = "{}" - NO_VOID_FORMAT_FOUND = "ERROR...\nYouTubeDL said: {}" + NO_VOID_FORMAT_FOUND = "ERROR...\nLazyDeveloperr said: {}" HELP_USER = """How to Use Me? Follow These steps! 1. Send url (example.domain/File.mp4 | New Filename.mp4). @@ -32,3 +34,16 @@ class Translation(object): CANCEL_STR = "Process Cancelled" ZIP_UPLOADED_STR = "Uploaded {} files in {} seconds" SLOW_URL_DECED = "Gosh that seems to be a very slow URL. Since you were screwing my home, I am in no mood to download this file. Meanwhile, why don't you try this:==> https://shrtz.me/PtsVnf6 and get me a fast URL so that I can upload to Telegram, without me slowing down for other users." + LAZY_START_TEXT = """๐™ท๐šŽ๐š•๐š•๐š˜ ๐—•๐—ฒ๐˜„๐—ฎ๐—ณ๐—ฎ {}, + +๐—ฌ๐—ผ๐˜‚ ๐—บ๐˜‚๐˜€๐˜ ๐—ฏ๐—ฒ ๐—ฎ๐—ป ๐—”๐˜‚๐˜๐—ต๐—ฒ๐—ป๐˜๐—ถ๐—ฐ ๐—จ๐˜€๐—ฒ๐—ฟ ๐˜๐—ผ ๐˜‚๐˜€๐—ฒ ๐—บ๐—ฒ. +The ๐‹๐š๐ณ๐ฒ๐ƒ๐ž๐ฏ๐ž๐ฅ๐จ๐ฉ๐ž๐ซ๐ซ has not allowed me to upload files from the urls which is send by an unAuthorised member. + +Please contact my Developer to be an authorised user ! +""" + LAZY_DEVELOPER_TEXT = """โ–โ•‘โ–โ–โ•‘ Hello Dear ADMIN โ•‘โ–โ–โ•‘โ– +โญ‘โ”—โ”ซโฆ€โฆ™ {} โฆ™โฆ€โ”ฃโ”›โญ‘ + + - Tell me what should i do for you. + - or Just send me any url baby +"""