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

Alexandre Janniaux ajanni at videolabs.io
Tue Sep 22 20:41:05 CEST 2020


Hi,

On Tue, Sep 22, 2020 at 08:06:01PM +0200, Pierre Ynard via vlc-devel wrote:
> 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??

This is probably a question for the youtube-dl tracker.

Regards,
--
Alexandre Janniaux
Videolabs


More information about the vlc-devel mailing list