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