Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dir01/tg-yt-dlp
Telegram bot that extracts short videos from pages for you
https://github.com/dir01/tg-yt-dlp
Last synced: 3 months ago
JSON representation
Telegram bot that extracts short videos from pages for you
- Host: GitHub
- URL: https://github.com/dir01/tg-yt-dlp
- Owner: dir01
- Created: 2023-10-14T09:02:06.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-07-27T04:37:08.000Z (4 months ago)
- Last Synced: 2024-07-27T05:35:54.739Z (4 months ago)
- Language: Python
- Size: 523 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tg-yt-dlp
Telegram bot that wraps [yt-dlp](https://github.com/yt-dlp/yt-dlp), which is a fork of [youtube-dl](https://github.com/ytdl-org/youtube-dl), which is a program that downloads videos from YouTube and a few hundred other sites.## What's it for?
Ever wanted to forward your friends that hilarious TikTok or YouTube short or a video on Twitter?
This is the use case I had in mind when I wrote it## What's the selling point?
Thanks to Dependabot and GitHub Actions, this bot will always be up-to-date with the latest version of [yt-dlp](https://github.com/yt-dlp/yt-dlp).
Whenever new version of [yt-dlp](https://github.com/yt-dlp/yt-dlp), the following will happen:
1. Dependabot will open a pull request to update the version of [yt-dlp](https://github.com/yt-dlp/yt-dlp) in the `pyproject.toml` file
2. GitHub action will automatically merge this pull request
3. GitHub action will automatically build a new docker image
4. (Irrelevant to anyone but me) [argocd-image-updater](https://argocd-image-updater.readthedocs.io/en/stable/) in my cluster will detect this and roll out new versionIt's also a very small project, just around 200 lines of code
## Limitations and Downsides
1. Telegram has a 50MB file size limit, so this bot will not download videos larger than that
2. I did not write any test, so the whole automatic update is YOLO type of thing## License
MIT License