瀏覽代碼

[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,