gatonaranja is a Telegram bot for downloading YouTube videos.
- Find it on Telegram: @gatonaranjabot
- Source code: github.com/midir99/gatonaranja
You send the video link, and the bot replies with the video, so you can save it to your gallery or downloads.
You can download:
Full videos
Send the video link:
https://www.youtube.com/watch?v=rLo-4csv288
Video clips
Send the video link followed by a timestamp range:
https://www.youtube.com/watch?v=rLo-4csv288 1:14-1:24
Audio only
Send the video link followed by the word audio:
https://www.youtube.com/watch?v=dQw4w9WgXcQ audio
Audio clips
Send the video link followed by a timestamp range and the word audio:
https://www.youtube.com/watch?v=jsp1O7dO8a8 4:31-5:21 audio
How does this work?
It's just Go code wired to yt-dlp and ffmpeg. Also, the Telegram bot API.
Check the code at GitHub.
Huge thanks to the maintainers of those tools. They're the best. ♥
Are you stealing my data?
No, I don't want it. Too busy for gossiping.
Why are you doing this?
I know, nobody asked this, but I did it because I like to download YouTube videos to show them to my imaginary friends, or to troll my family by sending weird audio clips.
Can I host it myself?
Yes, you can! I recommend hosting it on your local computer, not on a VPS, because yt-dlp may have problems when the IP is detected as datacenter traffic.
You can still host it on a VPS, but check the README.md file, especially the section about the -ytdlp-config flag.
Final notes
Enjoy! If you liked it, please give me a star in the GitHub repository :)
github.com/midir99/gatonaranja
Just a focused bot that does one thing well

Top comments (0)