youtube-dl video quality code example
Example 1: youtubedl best quality
youtube-dl -f best https://www.youtube.com/watch?v=nYdiDq1fOiM
Example 2: youtube-dl best quality
youtube-dl -f bestvideo+bestaudio/best https://www.youtube.com/watch?v=nYdiDq1fOiM