Telegram Downloader Bot
It downloads video from:
- youtube
- tiktok
Theoretically, it could download videos from any webpage, but for now, it only downloads from the above list
If you want to use the jDownloader2 integration function, you have to set up the remote control!
pip install python-telegram-bot --upgrade
orpip install python-telegram-bot -U --pre
pip install python-telegram-bot[rate-limiter]
pip install validators
pip install -U yt-dlp
pip install you-get
pip install myjdapi
dnf install ffmpeg
- Create the
config.properties
file in the project's directory, and put this content:
[secrets]
telegram.token=XXX
telegram.group.id=-ZZZ
telegram.developer.chat.id=WWW
[application]
# log.level = info | debug | error
restart.flag=false
log.level=info
send.start.and.stop.message=false
send.error.to.dev=true
send.error.to.user=false
# 1.1 | 2
http.version=1.1
ftp.host=
ftp.url=
ftp.user=
ftp.pass=
ftp.remote.folder=
youtube.user=
youtube.pass=
cookies.path=chrome:~/.config/google-chrome
jdownloader.download.path=
jdownloader.user=
jdownloader.pass=
jdownloader.device.name=
python3 -m pip install -U pip setuptools wheel
python3 -m pip install --force-reinstall https://github.com/yt-dlp/yt-dlp/archive/master.tar.gz
python3 -m pip install -U yt-dlp
/setcommands
@TG_DownloaderBot
- Copy and paste this:
version - show bot's version
download - download a video from an url
shutdown - shutdown the bot
On linux, do not run it from package manager, it's better from normal setup
Done! Congratulations on your new bot. You will find it at t.me/TG_DownloaderBot. You can now add a description, about section and profile picture for your bot, see /help for a list of commands. By the way, when you've finished creating your cool bot, ping our Bot Support if you want a better username for it. Make sure the bot is fully operational before you do this.
Use this token to access the HTTP API: XXX Keep your token secure and store it safely, it can be used by anyone to control your bot.
For a description of the Bot API, see this page: https://core.telegram.org/bots/api
download from youtube video/mp3download from facebookdownload from instagramdownload from tiktokhttps://youtube.com/shorts/rb4LEDH9EB8?feature=share timeout (custom ftp)https://fb.watch/kafb9dYydS/fb login yt-dlp/yt-dlp#2140try jDownloader command line