diff --git a/SongPlayRoBot.py b/AnySongDL.py similarity index 91% rename from SongPlayRoBot.py rename to AnySongDL.py index d83737e..f256515 100644 --- a/SongPlayRoBot.py +++ b/AnySongDL.py @@ -37,8 +37,8 @@ def start(client, message): reply_markup=InlineKeyboardMarkup( [ [ - InlineKeyboardButton('๐’๐”๐๐๐Ž๐‘๐“ ๐Ÿ‘ฌ', url='https://t.me/TamilSupport'), - InlineKeyboardButton('๐€๐ƒ๐ƒ ๐Œ๐„ ๐Ÿค—', url='https://t.me/SongPlayRoBot?startgroup=true') + InlineKeyboardButton('๐’๐”๐๐๐Ž๐‘๐“ ๐Ÿ‘ฌ', url='https://t.me/Tharamaanamovies'), + InlineKeyboardButton('๐€๐ƒ๐ƒ ๐Œ๐„ ๐Ÿค—', url='https://t.me/anysongdlrobot?startgroup=true') ] ] ) @@ -88,13 +88,13 @@ def a(client, message): ) print(str(e)) return - m.edit("๐Ÿ”Ž ๐…๐ข๐ง๐๐ข๐ง๐  ๐€ ๐’๐จ๐ง๐  ๐ŸŽถ ๐๐ฅ๐ž๐š๐ฌ๐ž ๐–๐š๐ข๐ญ โณ๏ธ ๐…๐จ๐ซ ๐…๐ž๐ฐ ๐’๐ž๐œ๐จ๐ง๐๐ฌ [๐Ÿš€](https://telegra.ph/file/67f41ae52a85dfc0551ae.mp4)") + m.edit("๐Ÿ”Ž ๐…๐ข๐ง๐๐ข๐ง๐  ๐€ ๐’๐จ๐ง๐  ๐ŸŽถ ๐๐ฅ๐ž๐š๐ฌ๐ž ๐–๐š๐ข๐ญ โณ๏ธ ๐…๐จ๐ซ ๐…๐ž๐ฐ ๐’๐ž๐œ๐จ๐ง๐๐ฌ [๐Ÿš€](https://telegra.ph/file/abdb5a244fedea3e59409.jpg)") try: with youtube_dl.YoutubeDL(ydl_opts) as ydl: info_dict = ydl.extract_info(link, download=False) audio_file = ydl.prepare_filename(info_dict) ydl.process_info(info_dict) - rep = f'๐ŸŽง ๐“๐ข๐ญ๐ฅ๐ž : [{title[:35]}]({link})\nโณ ๐ƒ๐ฎ๐ซ๐š๐ญ๐ข๐จ๐ง : `{duration}`\n๐ŸŽฌ ๐’๐จ๐ฎ๐ซ๐œ๐ž : [Youtube](https://youtu.be/3pN0W4KzzNY)\n๐Ÿ‘โ€๐Ÿ—จ ๐•๐ข๐ž๐ฐ๐ฌ : `{views}`\n\n๐Ÿ’Œ ๐๐ฒ : @SongPlayRoBot' + rep = f'๐ŸŽง ๐“๐ข๐ญ๐ฅ๐ž : [{title[:35]}]({link})\nโณ ๐ƒ๐ฎ๐ซ๐š๐ญ๐ข๐จ๐ง : `{duration}`\n๐ŸŽฌ ๐’๐จ๐ฎ๐ซ๐œ๐ž : [Youtube](https://youtube.com/channel/UCVn_mE_SLj9l795IE5frBcQ)\n๐Ÿ‘โ€๐Ÿ—จ ๐•๐ข๐ž๐ฐ๐ฌ : `{views}`\n\n๐Ÿ’Œ ๐๐ฒ : [๐—ง๐—ต๐—ฎ๐—ฟ๐—ฎ๐—บ๐—ฎ๐—ฎ๐—ป๐—ฎ๐—”๐—ฑ๐—บ๐—ถ๐—ป](https://t.me/tharamaanaadmin)๐Ÿ˜Ž' secmul, dur, dur_arr = 1, 0, duration.split(':') for i in range(len(dur_arr)-1, -1, -1): dur += (int(dur_arr[i]) * secmul) @@ -102,7 +102,7 @@ def a(client, message): message.reply_audio(audio_file, caption=rep, parse_mode='md',quote=False, title=title, duration=dur, thumb=thumb_name) m.delete() except Exception as e: - m.edit('โŒ ๐„๐ซ๐ซ๐จ๐ซ\n\n Report This Erorr To Fix @TamilSupport โค๏ธ') + m.edit('โŒ ๐„๐ซ๐ซ๐จ๐ซ\n\n Report This Erorr To Fix @tendkotta โค๏ธ') print(e) try: os.remove(audio_file) diff --git a/Procfile b/Procfile index ff3e017..1a071ec 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -worker: python3 SongPlayRoBot.py +worker: python3 AnySongDL.py diff --git a/README.md b/README.md index 2a52f42..a4369be 100644 --- a/README.md +++ b/README.md @@ -1,27 +1,16 @@ -# SongPlayRoBot +### ๐˜ผ๐™ฃ๐™ฎ ๐™Ž๐™ค๐™ฃ๐™œ๐™จ ๐˜ฟ๐™ค๐™ฌ๐™ฃ๐™ก๐™ค๐™–๐™™๐™š๐™ง -๐Ÿ“บ YouTube Song Downloader Bot For Telegram ๐Ÿ”ฎ +## Demo : [Any Song DL](https://t.me/anysongdlrobot) -3X Fast Telethon Based Bot โšœ - -Open Source Bot ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป - -Demo : [๐ŸŽธ๐’๐จ๐ง๐  ๐๐ฅ๐š๐ฒ ๐๐จ๐ญ๐ŸŽถ](https:t.me/SongProBot) - -Easy To Deploy ๐Ÿค— - -## ๐Ÿ’ก Deploy This Bot To Heroku โ“๏ธ ``` -1) Fork The Repository, -2) Edit config.py And Add Values API_ID, API_HASH And Your Bot Token, -3) Create An App On Heroku And Connect Heroku With Your Github Repository, -4) Manual Deploy To Your Repository. +Hi, I'm Pari - A simple youtube song downloader bot +Download the songs using the link in the demo. ``` -![logo](https://telegra.ph/file/9d337b3414bbf8e39ba79.jpg) -# Reach Me On Telegram [๐ŸŽธ๐’๐จ๐ง๐  ๐๐ฅ๐š๐ฒ ๐๐จ๐ญ๐ŸŽถ](https:t.me/SongProBot) +![logo](https://telegra.ph/file/abdb5a244fedea3e59409.jpg) +### [Tharamaana Songs๐ŸŽถ](https:t.me/tharamaanasongs) -# Report Any Error or Help Contact : -[Channel ๐Ÿ’ฌ](https://t.me/TamilBots), -[Support โค๏ธ](https://t.me/TamilSupport) +### [TENDKOTTA โค๏ธ](https://t.me/Tendkotta) +### [Tharamaana Movies โค๏ธ](https://t.me/Tharamaanamovies) -Report your problem along with your name to This [PERSON](https://t.me/iMvEtRi) ๐Ÿ˜ช +Report your problem along with your name to This ๐Ÿ‘‡ +### [Tharamaana Admin](https://t.me/tharamaanaadmin) ๐Ÿ˜ช diff --git a/config.py b/config.py index 0116b70..b7bbcf1 100644 --- a/config.py +++ b/config.py @@ -1,4 +1,4 @@ class Config: - API_ID = "" # ๐Ÿค– Same As APP_ID. Get It From My.telegram.org. - API_HASH = "" # ๐Ÿค– Get It From My.telegram.org. - BOT_TOKEN = "" # ๐Ÿค– Get It From @BotFather (Telegram) By Sending /newbot Command. + API_ID = "4155853" # ๐Ÿค– Same As APP_ID. Get It From My.telegram.org. + API_HASH = "a32bea6d67422a34ab4b7a36978ffc21" # ๐Ÿค– Get It From My.telegram.org. + BOT_TOKEN = "1943143398:AAHRIk7flYocGaxMiWF199uIhlyuFejqKGY" # ๐Ÿค– Get It From @BotFather (Telegram) By Sending /newbot Command.