Wake up, Neo...
CLI, terminal, shell, console, command prompt - This guide will explain how to download your own copy of a song, video, or playlist - giving you your own personal copy that can play offline anytime. Once you have downloaded some files you can learn how to host them on your own server and create a customized Netflix & Spotify server for yourself. Tired of paying to rent media? Youtube Download Pro (yt-dlp) has your back. This guide is for MacOS - please see additional Linux and Windows instructions here and view source code here
$ /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
$ wget -r https://credej.github.io
aggregate results from hundreds of search engines (coming soon!)