Browse Source
[bbccouk] Add support for https protocol in media selector (closes #12701)
master-ytdl-org
Sergey M․
8 years ago
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with
1 additions and
1 deletions
-
youtube_dl/extractor/bbc.py
|
@ -370,7 +370,7 @@ class BBCCoUkIE(InfoExtractor): |
|
|
'acodec': encoding, |
|
|
'acodec': encoding, |
|
|
'vcodec': 'none', |
|
|
'vcodec': 'none', |
|
|
}) |
|
|
}) |
|
|
if protocol == 'http': |
|
|
|
|
|
|
|
|
if protocol in ('http', 'https'): |
|
|
# Direct link |
|
|
# Direct link |
|
|
fmt.update({ |
|
|
fmt.update({ |
|
|
'url': href, |
|
|
'url': href, |
|
|