ytdlbot/README.md

163 lines
4 KiB
Markdown
Raw Normal View History

2021-08-29 10:19:49 +08:00
# ytdlbot
2022-01-02 21:49:03 +08:00
[![docker image](https://github.com/tgbot-collection/ytdlbot/actions/workflows/builder.yaml/badge.svg)](https://github.com/tgbot-collection/ytdlbot/actions/workflows/builder.yaml)
**YouTube Download Bot🚀🎬⬇**
2021-08-29 10:19:49 +08:00
This Telegram bot allows you to download videos from YouTube and [other supported websites](#supported-websites).
2021-05-04 12:01:53 +08:00
2021-08-29 10:19:49 +08:00
# Usage
2021-05-04 12:01:53 +08:00
2024-11-26 02:42:59 +08:00
* EU🇪🇺: [https://t.me/benny_2ytdlbot](https://t.me/benny_2ytdlbot)
* Singapore🇸🇬:[https://t.me/benny_ytdlbot](https://t.me/benny_ytdlbot)
2021-05-04 12:01:53 +08:00
2024-04-10 00:46:28 +08:00
* Join Telegram Channel https://t.me/+OGRC8tp9-U9mZDZl for updates.
2023-12-13 01:36:27 +08:00
Just send a link directly to the bot.
2021-05-04 12:01:53 +08:00
# Supported websites
2021-08-29 10:19:49 +08:00
* YouTube 😅
* Any websites [supported by yt-dlp](https://github.com/yt-dlp/yt-dlp/blob/master/supportedsites.md)
### Specific link downloader (Use /spdl for these links)
* Instagram (Videos, Photos, Reels, IGTV & carousel)
* Pixeldrain
* KrakenFiles
* Terabox (file/~~folders~~) (you need to add cookies txt in ytdlbot folder with name)
[terabox.txt](https://github.com/ytdl-org/youtube-dl#how-do-i-pass-cookies-to-youtube-dl).
2021-08-29 10:19:49 +08:00
# Features
1. fast download and upload.
2. ads free
3. support progress bar
4. audio conversion
2024-11-26 02:42:59 +08:00
5. different video resolutions
6. sending as file or streaming as video
7. cache mechanism - download once for the same video.
8. Supports multiple download engines (yt-dlp, aria2, requests).
> ## Limitations
> Due to limitations on servers and bandwidth, there are some restrictions on this free service.
2024-11-05 03:04:53 +08:00
> * Each user is limited to 5 free downloads per 24-hour period
2024-11-26 02:42:59 +08:00
2023-04-16 20:27:24 +08:00
# Screenshots
## Normal download
![](assets/1.jpeg)
## Instagram download
![](assets/instagram.png)
2022-01-02 21:49:03 +08:00
![](assets/2.jpeg)
2021-05-04 13:36:28 +08:00
# How to deploy?
2021-08-29 10:19:49 +08:00
2023-04-07 04:33:24 +08:00
This bot can be deployed on any platform that supports Python.
2021-08-30 22:42:54 +08:00
2022-01-02 21:49:03 +08:00
## Run natively on your machine
2024-11-26 02:42:59 +08:00
* use pdm
* pdm install
* copy .env.example to .env
* python main.py
2022-01-02 21:49:03 +08:00
## Docker
2021-08-30 22:42:54 +08:00
One line command to run the bot
2021-08-30 22:42:54 +08:00
```shell
docker run -e APP_ID=111 -e APP_HASH=111 -e TOKEN=370FXI bennythink/ytdlbot
```
2022-01-02 21:49:03 +08:00
# Complete deployment guide for docker-compose
2021-08-29 10:19:49 +08:00
2024-11-26 02:42:59 +08:00
2021-05-05 14:10:08 +08:00
# Command
2021-08-29 10:19:49 +08:00
```
2021-08-16 19:45:36 +08:00
start - Let's start
2022-02-04 12:25:10 +08:00
about - What's this bot?
help - Help
spdl - Use to download specific link downloader links
2021-08-16 19:45:36 +08:00
ytdl - Download video in group
2024-11-26 02:42:59 +08:00
aria2 - Download file using aria2
settings - Set your preference
2022-02-04 12:25:10 +08:00
unsub - Unsubscribe from YouTube Channel
ping - Ping the Bot
```
2021-05-05 14:10:08 +08:00
2022-01-04 21:33:03 +08:00
# Test data
<details><summary>Tap to expand</summary>
2022-01-04 21:33:03 +08:00
## Test video
2021-08-29 10:19:49 +08:00
2021-05-05 14:10:08 +08:00
https://www.youtube.com/watch?v=BaW_jenozKc
2022-01-04 21:33:03 +08:00
## Test Playlist
2021-08-29 10:19:49 +08:00
https://www.youtube.com/playlist?list=PL1Hdq7xjQCJxQnGc05gS4wzHWccvEJy0w
2023-04-19 01:09:44 +08:00
## Test twitter
2022-09-05 18:22:21 +08:00
2022-04-19 03:28:20 +08:00
https://twitter.com/nitori_sayaka/status/1526199729864200192
https://twitter.com/BennyThinks/status/1475836588542341124
2023-04-19 01:09:44 +08:00
## Test instagram
2023-12-17 01:37:38 +08:00
* single image: https://www.instagram.com/p/CXpxSyOrWCA/
* single video: https://www.instagram.com/p/Cah_7gnDVUW/
* reels: https://www.instagram.com/p/C0ozGsjtY0W/
* image carousel: https://www.instagram.com/p/C0ozPQ5o536/
* video and image carousel: https://www.instagram.com/p/C0ozhsVo-m8/
2023-04-16 20:27:24 +08:00
## Test Pixeldrain
https://pixeldrain.com/u/765ijw9i
## Test KrakenFiles
https://krakenfiles.com/view/oqmSTF0T5t/file.html
## Test TeraBox
https://terabox.com/s/1mpgNshrZVl6KuH717Hs23Q
</details>
2022-01-02 21:49:03 +08:00
# Donation
Found this bot useful? You can donate to support the development of this bot.
## Donation Platforms
2022-01-02 21:49:03 +08:00
* [Buy me a coffee](https://www.buymeacoffee.com/bennythink)
2023-01-07 00:06:26 +08:00
* [GitHub Sponsor](https://github.com/sponsors/BennyThink)
## Stripe
You can choose to donate via Stripe.
| USD(Card, Apple Pay and Google Pay) | CNY(Card, Apple Pay, Google Pay and Alipay) |
|--------------------------------------------------|--------------------------------------------------|
| [USD](https://buy.stripe.com/cN203sdZB98RevC3cd) | [CNY](https://buy.stripe.com/dR67vU4p13Ox73a6oq) |
| ![](assets/USD.png) | ![](assets/CNY.png) |
## Cryptocurrency
2023-04-07 04:33:24 +08:00
TRX or USDT(TRC20)
2023-01-07 00:06:26 +08:00
![](assets/tron.png)
```
TF9peZjC2FYjU4xNMPg3uP4caYLJxtXeJS
```
2022-01-02 21:49:03 +08:00
2021-05-04 12:01:53 +08:00
# License
2021-08-29 10:19:49 +08:00
2022-12-06 09:53:03 +08:00
Apache License 2.0