A Telegram bot that downloads TikTok videos and sends them directly to you — no watermarks, no hassle.
- 📥 Downloads TikTok videos by URL
- 🚫 No watermark (via
yt-dlp) - 📤 Sends the video directly in Telegram chat
- 🔒 Skips files over 50 MB (Telegram API limit)
- 🧹 Auto-cleans up downloaded files after sending
tiktok-downloader/
├── .env # Bot token (not committed)
├── .gitignore
├── requirements.txt # Python dependencies
├── run.py # Bot entry point (aiogram)
└── tiktokdata.py # Video download logic (yt-dlp)
- Python 3.10+
- A Telegram bot token from @BotFather
-
Clone the repository
git clone https://github.com/your-username/tiktok-downloader.git cd tiktok-downloader -
Install dependencies
pip install -r requirements.txt
-
Configure the bot token
Create a
.envfile in the project root:BOT_TOKEN=your_telegram_bot_token_here
-
Run the bot
python run.py
- Start the bot in Telegram:
/start - Paste any TikTok video link (e.g.
https://www.tiktok.com/@user/video/...) - The bot will download and send the video with the title and author name
- Videos larger than 50 MB cannot be sent via the Telegram Bot API and will be rejected
- Only public TikTok videos are supported
| Package | Purpose |
|---|---|
aiogram |
Telegram bot framework |
yt-dlp |
Video downloading engine |
python-dotenv |
Loading environment variables |
MIT