Simple bash script that downloads and extracts mp3 from youtube videos and uploads it to a Telegram channel.
Telegram can be used as a music player substitute. It is kind of cool and handy feature of Telegram.
License: WTFPL
- youtube-dl
- ffmpeg
It uses youtube-dl
to download and extract audio from youtube videos. It also requires ffmpeg
for the conversion.
- Create a Telegram bot using Botfather. Details can be found here.
- Create a Telegram channel or group and get the chat id.
- If you are using a channel, make the bot administrator of that channel.
- Add the bot-token and chat ID in the config file.
It is simple to use:
./cuckoo.sh <youtube-link-here>