mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-26 18:34:32 +01:00
[youtube] Do not break upon unknown formats
This commit is contained in:
parent
629be17af4
commit
0b65e5d40f
@ -1290,6 +1290,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
|
||||
'url': video_real_url,
|
||||
'player_url': player_url,
|
||||
}
|
||||
if itag in self._formats:
|
||||
dct.update(self._formats[itag])
|
||||
formats.append(dct)
|
||||
return formats
|
||||
|
Loading…
Reference in New Issue
Block a user