]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[bbccouk] Add support for https protocol in media selector (closes #12701)
authorSergey M․ <dstftw@gmail.com>
Mon, 10 Apr 2017 15:53:06 +0000 (22:53 +0700)
committerSergey M․ <dstftw@gmail.com>
Mon, 10 Apr 2017 15:53:06 +0000 (22:53 +0700)
youtube_dl/extractor/bbc.py

index 8a2ed0ab6851e3ee128aea4fbb1254c0d37cdd7b..f0de076199ef6c5eaa27babc8f899db5203784ae 100644 (file)
@@ -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,