https://github.com/bengabp/m3dlp
yt-dlp inspired media downloader
https://github.com/bengabp/m3dlp
dramatiq media-downloader python telegram-bot yt-dlp
Last synced: about 1 month ago
JSON representation
yt-dlp inspired media downloader
- Host: GitHub
- URL: https://github.com/bengabp/m3dlp
- Owner: bengabp
- Created: 2025-06-03T07:19:04.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-06-04T23:49:26.000Z (4 months ago)
- Last Synced: 2025-06-05T02:52:14.076Z (4 months ago)
- Topics: dramatiq, media-downloader, python, telegram-bot, yt-dlp
- Language: Python
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![]()
opensource yt-dlp inspired media downloader Telegram bot# Setting up
Run a redis container locally
```bash
docker run -d --name redis -p 6379:6379 redis:latest
```
Clone this repository and install the dependencies using uv
```bash
uv sync
```Running a worker
This project uses dramatiq to queue download tasks so as to prevent too many tasks from being processed at once
```bash
uv run dramatiq-gevent --queues=media_download m3dlp.tasks
```Running with docker compose
Ive added a compose file to make everything easier.
Just add a .env file at the root directory and make sure you have your
`TELEGRAM_BOT_TOKEN` set, then fire up the bot using this command```bash
docker compose up -d
```
The compose file includes
- redis
- broker
- tgbot