1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-28 06:26:50 +01: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 @@ class SWRMediathekIE(InfoExtractor):
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 @@ class SWRMediathekIE(InfoExtractor):
'uploader': attr['channel_title'], 'uploader': attr['channel_title'],
'uploader_id': attr['channel_idkey'], 'uploader_id': attr['channel_idkey'],
'formats': formats, 'formats': formats,
} }