yt-audio is a simple script to download audio from YouTube.com and a few more sites. It uses youtube-dl program (so first install it).
first clone this repo:
git clone https://github.com/ilvghst/yt-audio.git
cd yt-audio && chmod +x yt-audio
yt-audio [--add-link <OPTIONAL>] [--directory <OPTIONAL>] [--help]
-h, --help: Prints help
-a, --add-link: Add link to songs.txt file (default: 'no default')
-d, --directory: Directory to save downloaded audio (default: './')
First add url: (add as many url you like)
yt-audio -a YOUTUBE_URL1
yt-audio -a YOUTUBE_URL2
...
Then: if you want to specify directory
yt-audio -d /path/to/dir
if you don't want to specify directory
yt-audio
Above command will download audio in current directory
- Stop writing shitty code(s)
- Try my best to stop writing shitty script(s)
- Learn more and more..
thank you for your precious time
😊 .