2021-05-03 10:24:44 +00:00
|
|
|
# ytdl-bot
|
2021-05-04 04:01:53 +00:00
|
|
|
Download videos from YouTube and other platforms through a Telegram Bot
|
|
|
|
|
2021-05-23 14:25:15 +00:00
|
|
|
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
|
2021-05-04 04:01:53 +00:00
|
|
|
|
|
|
|
# Usage:
|
|
|
|
|
|
|
|
[https://t.me/benny_ytdlbot](https://t.me/benny_ytdlbot)
|
|
|
|
|
2021-05-04 05:36:28 +00:00
|
|
|
Send link from YouTube directly to the bot.
|
|
|
|
Any platform [supported by youtube-dl](https://ytdl-org.github.io/youtube-dl/supportedsites.html) will also work.
|
2021-05-04 04:01:53 +00:00
|
|
|
|
2021-05-05 04:07:03 +00:00
|
|
|
# Feature
|
|
|
|
![](assets/1.jpeg)
|
|
|
|
|
|
|
|
1. fast download and upload. Many thanks to [FastTelethon](https://gist.github.com/painor/7e74de80ae0c819d3e9abcf9989a8dd6) and
|
|
|
|
[JasonKhew96](https://github.com/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
|
|
|
|
|
2021-05-04 05:36:28 +00:00
|
|
|
# How to deploy?
|
|
|
|
## Normal
|
2021-05-05 04:07:03 +00:00
|
|
|
1. clone code and update submodule `git submodule update --init --recursive`
|
2021-05-05 06:10:08 +00:00
|
|
|
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.
|
2021-05-05 04:07:03 +00:00
|
|
|
|
2021-05-04 05:36:28 +00:00
|
|
|
## docker
|
|
|
|
see [here](https://github.com/tgbot-collection/BotsRunner)
|
2021-05-04 04:01:53 +00:00
|
|
|
|
2021-05-05 06:10:08 +00:00
|
|
|
# Command
|
2021-05-05 04:07:03 +00:00
|
|
|
```
|
2021-08-16 11:45:36 +00:00
|
|
|
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
|
2021-05-05 04:07:03 +00:00
|
|
|
```
|
2021-05-05 06:10:08 +00:00
|
|
|
|
|
|
|
# Test video
|
|
|
|
https://www.youtube.com/watch?v=BaW_jenozKc
|
|
|
|
|
2021-05-04 04:01:53 +00:00
|
|
|
# License
|
|
|
|
Apache License 2.0
|