Просмотр исходного кода

Merge pull request #4136 from andikmu/master

fix swrmediathek for new formats.
Jaime Marquínez Ferrándiz 10 лет назад
Родитель
Сommit
519c73f267
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      youtube_dl/extractor/swrmediathek.py

+ 2 - 2
youtube_dl/extractor/swrmediathek.py

@@ -80,7 +80,7 @@ class SWRMediathekIE(InfoExtractor):
 
             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 @@ class SWRMediathekIE(InfoExtractor):
             'uploader': attr['channel_title'],
             'uploader_id': attr['channel_idkey'],
             'formats': formats,
-        }
+        }