mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-18 18:59:32 +01:00
[bbccouk] Add support for https protocol in media selector (closes #12701)
This commit is contained in:
parent
a206ef62df
commit
1af959ef9f
@ -370,7 +370,7 @@ def _process_media_selector(self, media_selection, programme_id):
|
|||||||
'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,
|
||||||
|
Loading…
Reference in New Issue
Block a user