Download videos from Youtube and other platforms through a Telegram Bot
Find a file
2021-07-11 23:30:09 +08:00
assets reorder import, change code style, avoid /music and other commands in groups 2021-05-05 12:10:22 +08:00
.gitignore remove submodule for better support of heroku 2021-05-24 09:27:49 +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
dl_test.py save video in temp dir - avoid concurrency bug 2021-05-04 13:10:50 +08:00
Dockerfile fix Dockerfile 2021-05-05 13:49:41 +08:00
FastTelethon.py remove submodule for better support of heroku 2021-05-24 09:27:49 +08:00
LICENSE Initial commit 2021-05-03 18:24:44 +08:00
Procfile add Procfile for heroku 2021-05-23 21:59:19 +08:00
README.md add button 2021-05-23 22:25:15 +08:00
requirements.txt ffmpeg called by subprocess 2021-05-13 19:14:01 +08:00
ytdl.py fast upload 2021-07-11 23:30:09 +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 - wanna contribute?
ping - bot running status
help - it's not working?
ytdl - download video in group

Test video

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

License

Apache License 2.0