We used this link from youtube to do our testing with the application youtube-dl.

Here is the list of all the websites this application supports NOT JUST YOUTUBE!

We analyze the code in the terminal with youtube-dl –help.

Audio + Video

Just Audio

You will get a video and an mp3 to play with any player of your choice.

The audio format can be in mp3 but also best, aac, flac, m4a, opus, vorbis, wav.
If we use best for this link, we will get opus. Others came in with ogg. So the source matters when you use best.

Many formats are possible

USE a gui to do the same job

We analyze our choices and decide to install