This bot can download videos/audios from YouTube and send them via Telegram. Bot bypasses 50 Mb restriction - it can send files of size up to 1.5 Gb.
-
Contact @BotFather in Telegram and create new bot.
-
Paste
bot_token
andbot_name
intosecrets.py
. -
Goto https://my.telegram.org/auth and register new app.
-
Paste
api_id
andapi_hash
intosecrets.py
. -
Get
user_id
from @ShowJsonBot in Telegram and paste it intosecrets.py
. -
Authenticate userbot on first launch by entering phone number and received sms-code via terminal.
And that's it!
Contact: @Lor3m