commit: 1af959ef9f8936a8e211f692a2da1a69e0076962
parent a206ef62df7e45992ebb26bf41f86c01d904fe75
Author: Sergey M․ <dstftw@gmail.com>
Date: Mon, 10 Apr 2017 22:53:06 +0700
[bbccouk] Add support for https protocol in media selector (closes #12701)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/bbc.py b/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,