--no-cache-dir was probably added in the belif to prevent storing big cache files
but it seems to be extractor session data to speed up auth etc.
--netrc is now default so that yt-dlp plugins works better
Fixes#187
// It downloads given URL using the given options and filter (usually a format
id or quality designator). If filter is empty, then youtube-dl will use its
default format selector.
Set it to true if you don't want to use the result.Info structure.
If it is set to true, then the New() call won't call youtube-dl to request info
about the source in JSON format, and result.Info structure will not be
populated. The given URL will be downloaded in a single pass in the Download()
call.
yt-dlp uses mp4 format by default to merge sources with separate video and
audio streams. mp4 format does not handle VP9 codec, so adding the ability
to set the merge output format, we can set it to use for ex. mkv, which
handles VP9 well.
With the possibility of setting the sorting format we can tell yt-dlp which
criteria to consider as the best format.
--ignore-errors still return error message and exit code != 0
so workaround is to assume things went ok if we get some json on stdout
Filter out failed entries for playlists