https://ytdl-org.github.io/youtube-dl/index.html is the gold standard.
Copy the video page URL to your clipboard and just type
yd - download the video. Works on most popular sites with video.
yda - download just audio, best available
ypl - makes a subfolder with the whole playlist in it (Copy the playlist URL)
yc - downloads every video on the channel (Copy the channel URL)
yd () { youtube-dl "$(pbpaste)" ; }
yda () { youtube-dl -f bestaudio "$(pbpaste)" ; }
ypl () { youtube-dl -i -o '%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' "$(pbpaste)" ; }
yc () { youtube-dl -i -o '%(channel)s/%(title)s.%(ext)s' "$(pbpaste)" ; }
I use especially yd and ypl constantly. Sites where youtube-dl doesn't work, this usually does: Get the master m3u8 or an mp4 link from the page using Developer tools->Network[1], copy link to clipboard, andvd myfile - downloads the video as myfile.mp4
vd () { youtube-dl -o "$1.mp4" "$(pbpaste)" ; }
[0] Save them in your .bash_profile or equivalent on your machine.[1] i.e. with Network tab open, refresh page and start video playing.