[vlc-devel] [PATCH 2/4] ytdl: access module for YoutubeDL

Pierre Ynard linkfanel at yahoo.fr
Tue Sep 22 20:06:01 CEST 2020


On Tue, Sep 22, 2020, Pierre Ynard wrote:
> It forks a new process and launches the python interpreter in it, then
> youtube-dl checks the URL against its list of supported websites. If
> unsupported, it throws an exception

Wait I just noticed that in at least some if not all cases, it actually
connects to the website, sends a HEAD then a GET request, and downloads
the whole page, before figuring out that the website is unsupported and
exiting?! That's some god-awful and rather pointless overhead, why??

-- 
Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."


More information about the vlc-devel mailing list