Telegram bot based on Aiogram, Pyrogram and PyTube that allows to download any kind of videos from YouTube. Bot requires extra telegram account for bypassing file limits for bots and one Google account for accessing YouTube.
Run create_database.py to form the database.
ADMIN_ID
: Your account`s Telegram ID.TOKEN
: Bot`s token, can be obtained here - https://t.me/BotFather.BOT_ID
: Bot`s Telegram ID.HOST_ID
: Telegram ID of an account that will be used to bypass 2 gb file restriction.API_ID
: Can be obtained here - https://my.telegram.org.API_HASH
: Can be obtained here - https://my.telegram.org.
There you can find an example of .env file.