Closed Twi-Hard closed 2 weeks ago
in case it's a bug.
It is. The current code expects all returned ytdl info_dicts to have an ext
field, which is apparently not the case.
With default settings, it only outputs a short "video unavailable" message:
$ gallery-dl ytdl:https://www.youtube.com/watch?v=oxpWLPyBD0o
[ytdl][error] ERROR: [youtube] oxpWLPyBD0o: Video unavailable. This video has been removed by the uploader
[ytdl][error] Failed to extract video data
I think this is related to https://github.com/allendema/gallery-dl/commit/036f69c7215d5f5acf8960efcaf9571e745881e0.
Kind of, but this is a Youtube video without ext
and without formats
:
[ytdl][warning] No video formats found!
The exception is fixed (https://github.com/mikf/gallery-dl/commit/3ec7ee6baa8103163e437d077f3ebb734e598cda), but it now hangs seemingly forever trying to download thumbnail number 37 down to 0, all of which don't exist.
This is all mainly due to --ignore-errors
and --ignore-no-formats-error
I'm getting this error when gallery-dl runs into a video that doesn't exist:
The following are the relevant parts of the config. Metadata postprocessor (archive-format and $domain are set in a wrapper script):
ytdl extractor (the subcategories should all be the same):
I have absolutely no idea about what to do with this one. I've tried some stuff like making
{ext!l}
be{ext!l|empty}
but that didn't help. I'm posting it as in issue in case it's a bug.