Wake up, Neo...
Ever wanted to download a song or playlist right from youtube and play if offline? Tired of paying Spotify to rent music? Youtube download pro has your back. This guide is for MacOS, please see additional Linux and Winoows instructions here or view the source code
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/yourUserNameHere/.zprofile
$ eval "$(/opt/homebrew/bin/brew shellenv)"
$ brew install ffmpeg yt-dlp
$ brew update
$ yt-dlp -o "%(title)s.%(ext)s" -f bestaudio --ignore-errors --extract-audio --audio-format mp3 --audio-quality 0 --playlist-end 1 "https://www.youtube.com/watch?v=5bpjhJ01uHI&list=RD5bpjhJ01uHI&start_radio=1"
$ yt-dlp -o "%(title)s.%(ext)s" -f bestaudio --ignore-errors --extract-audio --audio-format mp3 --audio-quality 0 "https://www.youtube.com/playlist?list=PL63ZO-jXFTatssIiQjDHSa6X-WPu-EyYV"
$ yt-dlp --format "bv*[ext=mp4]+ba[ext=m4a]/b[ext=mp4]" --playlist-end 1 "https://www.youtube.com/watch?v=5telYPUNxWg"
copy any website's code
$ brew install wget
$ ls -ld .?*
$ touch ~/.zshrc
$ open .zshrc
$ add line >> export PATH=/opt/homebrew/bin:$PATH
$ restart terminal
$ wget https://credej.github.io