This is a Telegram bot that allows users to download videos from YouTube, TikTok, and Instagram. Simply send a link to the bot, and it will fetch and send you the video file.
- Download videos from YouTube
- Download videos from TikTok
- Download videos from Instagram
- Simple and user-friendly interface
git clone https://github.com/merybist/DownloaderBot
cd DownloaderBotCreate a .env file in the root directory of the project and add your Telegram Bot API token:
### 3. (Optional) Run your own local Telegram Bot API server
If you want to use your own local Telegram Bot API server, follow the official guide here: [How to build and run Telegram Bot API server locally](https://tdlib.github.io/telegram-bot-api/build.html)
### 4. Install dependencies and run the bot
1. Install Python 3.10+ and [pip](https://pip.pypa.io/en/stable/).
2. Install dependencies:
```bash
pip install -r requirements.txt
```
3. Run the bot:
```bash
python main.py
```
Or using Docker:
docker compose up -d
.env Example
BOT_TOKEN=
ADMIN_ID=
CHANNEL_ID=
RAPIDAPI_KEY=
RAPIDAPI_HOST=
# Database configuration (PostgreSQL/Subabase)
host=
database=
user=
password=
port=
- Send a YouTube, TikTok, or Instagram video link to the bot in Telegram.
- The bot will process the link and send you the video file.
This project is licensed under the MIT License. See the LICENCE file for details.