1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 17:22:31 +01:00

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

This commit is contained in:
Sergey M․ 2017-04-10 22:53:06 +07:00
parent a206ef62df
commit 1af959ef9f
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -370,7 +370,7 @@ def _process_media_selector(self, media_selection, programme_id):
'acodec': encoding,
'vcodec': 'none',
})
if protocol == 'http':
if protocol in ('http', 'https'):
# Direct link
fmt.update({
'url': href,