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
|
|
|
|
|
|
|
|
|
|
|
|
# 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-04 05:36:28 +00:00
|
|
|
1. install Python 3.6+
|
|
|
|
2. pip3 install -r requirements.txt
|
|
|
|
3. set environment variables `TOKEN`, `APP_ID` and `APP_HASH`
|
|
|
|
4. `python3 bot.py`
|
|
|
|
5. 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 04:07:03 +00:00
|
|
|
# commdands
|
|
|
|
```
|
|
|
|
start - let's start
|
|
|
|
about - wanna contribute?
|
|
|
|
ping - bot running status
|
|
|
|
help - it's not working?
|
|
|
|
ytdl - download video in group
|
|
|
|
```
|
2021-05-04 04:01:53 +00:00
|
|
|
# License
|
|
|
|
Apache License 2.0
|