https://github.com/trvedxemon/dxemonloadbot
Content download bot for Telegram, preview: t.me/dxemonloadbot
https://github.com/trvedxemon/dxemonloadbot
downloader music-bot music-downloader python telegram telegram-bot video-downloader youtube-downloader
Last synced: 27 days ago
JSON representation
Content download bot for Telegram, preview: t.me/dxemonloadbot
- Host: GitHub
- URL: https://github.com/trvedxemon/dxemonloadbot
- Owner: trvedxemon
- License: mit
- Created: 2024-02-14T12:04:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-21T09:05:39.000Z (over 1 year ago)
- Last Synced: 2025-05-16T05:13:45.406Z (5 months ago)
- Topics: downloader, music-bot, music-downloader, python, telegram, telegram-bot, video-downloader, youtube-downloader
- Language: Python
- Homepage:
- Size: 28.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
DXEMONLOAD Bot
Copyright ©️ Tim Nagorskikh, 2024
Original: https://github.com/trvedxemon/dxemonloadbot
Preview: https://t.me/dxemonloadbot
------------------------------------
BASICS
------------------------------------
Written in Python 3 using aiogram 3.1, ffmpeg-python 0.2.0, pydub 0.25.1 and pytube 15.0config.py - constants and details
ytloader.py - main worker
muscoder.py - music transcoder
/tmp - default folder for loading files from YouTube
/tmp/merged - folder for processed videos
------------------------------------
INSTALLATION
------------------------------------
- Create bot via BotFather, then add API Token to config.py instead of placeholder
- Install libraries:
- - pip install aiogram
- - pip install pytube
- - pip install ffmpeg-python
- - pip install pydub
- Run the bot.py
------------------------------------
OTHER INFO
------------------------------------
1. Video and audio files by default are saved to /tmp. If necessary, change the 'filepath' var in config.py
2. Bot uses long-polling by default. If you know what webhook is, you can rewrite it to use them instead
3. Downloaded files are deleted soon, but keep an eye on the folder's size, there's no in-built control