From d6fdc3868210ccb0d0d698940fdad16dbb497cb9 Mon Sep 17 00:00:00 2001 From: andi Date: Sat, 8 Nov 2014 15:56:35 +0100 Subject: [PATCH] fix swrmediathek for new formats. --- youtube_dl/extractor/swrmediathek.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/swrmediathek.py b/youtube_dl/extractor/swrmediathek.py index 13c6ea677..bf430d870 100644 --- a/youtube_dl/extractor/swrmediathek.py +++ b/youtube_dl/extractor/swrmediathek.py @@ -80,7 +80,7 @@ def _real_extract(self, url): if media_type == 'Video': fmt.update({ - 'format_note': ['144p', '288p', '544p'][quality-1], + 'format_note': ['144p', '288p', '544p', '720p'][quality-1], 'vcodec': codec, }) elif media_type == 'Audio': @@ -101,4 +101,4 @@ def _real_extract(self, url): 'uploader': attr['channel_title'], 'uploader_id': attr['channel_idkey'], 'formats': formats, - } \ No newline at end of file + }