Pour installer Youtube-dl sur MacOS. Il est nécessaire d’installer Homebrew (brew) puis utiliser installer Youtube-dl avec la ligne :
brew install yt-dlp
Par exemple, pour télécharger une vidéo
youtube-dl '<https://www.youtube.com/watch?v=4Z7jTgCNLsQ>'
https://github.com/ytdl-org/youtube-dl/