Download videos from Youtube and other platforms through a Telegram Bot
Find a file
2021-08-29 10:02:11 +08:00
.github/workflows github action 2021-07-17 20:38:56 +08:00
.idea use new wrapper (#10) 2021-08-14 17:57:42 +08:00
assets reorder import, change code style, avoid /music and other commands in groups 2021-05-05 12:10:22 +08:00
.gitignore VIP function (#1) 2021-08-16 09:00:27 +08:00
.gitmodules remove submodule for better support of heroku 2021-05-24 09:27:49 +08:00
app.json worker only 2021-05-24 09:48:30 +08:00
broadcast.py fix audio, change help text, remove playlist VIP, broadcast 2021-08-26 22:04:57 +08:00
config.py VIP mode controlled by env var 2021-08-29 10:02:11 +08:00
constant.py VIP mode controlled by env var 2021-08-29 10:02:11 +08:00
Dockerfile use supervisor 2021-08-21 16:05:47 +08:00
downloader.py VIP mode controlled by env var 2021-08-29 10:02:11 +08:00
LICENSE Initial commit 2021-05-03 18:24:44 +08:00
limit.py VIP mode controlled by env var 2021-08-29 10:02:11 +08:00
Procfile add Procfile for heroku 2021-05-23 21:59:19 +08:00
README.md quota bug fix 2021-08-25 23:32:58 +08:00
requirements.txt add broadcast 2021-08-25 20:22:02 +08:00
supervisor.conf use supervisor 2021-08-21 16:05:47 +08:00
ytdl.py VIP mode controlled by env var 2021-08-29 10:02:11 +08:00

ytdl-bot

Download videos from YouTube and other platforms through a Telegram Bot

Deploy

Usage:

https://t.me/benny_ytdlbot

Send link from YouTube directly to the bot. Any platform supported by youtube-dl will also work.

Feature

  1. fast download and upload. Many thanks to FastTelethon and JasonKhew96's contribution on this!

  2. ads free - I'll never send ads to you, also I don't even print logs that will identify you. So feel free to download any type of video from any website.

  3. support progress bar

How to deploy?

Normal

  1. clone code and update submodule git submodule update --init --recursive
  2. install ffmpeg
  3. install Python 3.6+
  4. pip3 install -r requirements.txt
  5. set environment variables TOKEN, APP_ID and APP_HASH
  6. python3 bot.py
  7. supervisor on your own preference.

docker

see here

Command

start - Let's start
about - Want to contribute?
ping - Bot running status
help - Anything troubles you?
ytdl - Download video in group
vip - Join VIP
terms - View Terms of Service

Test video

https://www.youtube.com/watch?v=BaW_jenozKc

Test Playlist

https://www.youtube.com/playlist?list=PL1Hdq7xjQCJxQnGc05gS4wzHWccvEJy0w

License

Apache License 2.0