Преглед изворни кода

[bbccouk] Add support for https protocol in media selector (closes #12701)

Sergey M․ пре 8 година
родитељ
комит
1af959ef9f
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      youtube_dl/extractor/bbc.py

+ 1 - 1
youtube_dl/extractor/bbc.py

@@ -370,7 +370,7 @@ class BBCCoUkIE(InfoExtractor):
                                 'acodec': encoding,
                                 'vcodec': 'none',
                             })
-                        if protocol == 'http':
+                        if protocol in ('http', 'https'):
                             # Direct link
                             fmt.update({
                                 'url': href,