0
0
Fork 0

[youtube] Do not break upon unknown formats

main
Philipp Hagemeister 2014-01-23 23:21:42 +01:00
parent 629be17af4
commit 0b65e5d40f
1 changed files with 2 additions and 1 deletions

View File

@ -1290,6 +1290,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
'url': video_real_url, 'url': video_real_url,
'player_url': player_url, 'player_url': player_url,
} }
if itag in self._formats:
dct.update(self._formats[itag]) dct.update(self._formats[itag])
formats.append(dct) formats.append(dct)
return formats return formats