Streams Extractor Bot
This Bot can extract audios and subtitles from video files.
Send any valid video file and the bot shows you available streams in it that can be extracted!!
Installation
Deploy in your vps
We are gonna use docker compose to run the bot.
Install docker on your VPS. See official Docker Docs.
After installing docker follow the below steps.
- Clone the repo and change directory to streamextract
git clone https://github.com/pachax001/Stream-Extract-Bot.git streamextract/ && cd streamextract
2.Fill the variables in config.py
Click here for more info on config.
In this line replace the number with your telegram id.
- After filling and saving config.py type this command in terminal and press enter.
sudo docker compose up
Extra
- To stop docker container
sudo docker compose down
- To delete stopped containers.
sudo docker system prune
Configs
-
BOT_TOKEN - Get bot token from @BotFather
-
APP_ID - From my.telegram.org (or @UseTGXBot)
-
API_HASH - From my.telegram.org (or @UseTGXBot)
-
AUTH_USERS - Get from @MissRose_bot by /id command. Put id seperated by spaces.
-
LOG_CHANNEL - Create a new channel and add the id of the channel. Remember to put the log channel ID also to the AUTH_USERS. Add the bot to the channel as admin
-
BOT_USERNAME - Username of the bot. Do not put @ before the username. Only add the name.