0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-17 01:25:11 +00:00

Merge pull request #4136 from andikmu/master

fix swrmediathek for new formats.
This commit is contained in:
Jaime Marquínez Ferrándiz 2014-11-09 12:17:18 +01:00
commit 519c73f267

View file

@ -80,7 +80,7 @@ def _real_extract(self, url):
if media_type == 'Video': if media_type == 'Video':
fmt.update({ fmt.update({
'format_note': ['144p', '288p', '544p'][quality-1], 'format_note': ['144p', '288p', '544p', '720p'][quality-1],
'vcodec': codec, 'vcodec': codec,
}) })
elif media_type == 'Audio': elif media_type == 'Audio':
@ -101,4 +101,4 @@ def _real_extract(self, url):
'uploader': attr['channel_title'], 'uploader': attr['channel_title'],
'uploader_id': attr['channel_idkey'], 'uploader_id': attr['channel_idkey'],
'formats': formats, 'formats': formats,
} }