mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-06 02:49:35 +02:00
parent
7e59ca440a
commit
7de837a5e3
@ -4731,7 +4731,7 @@ def determine_protocol(info_dict):
|
|||||||
if protocol is not None:
|
if protocol is not None:
|
||||||
return protocol
|
return protocol
|
||||||
|
|
||||||
url = info_dict['url']
|
url = sanitize_url(info_dict['url'])
|
||||||
if url.startswith('rtmp'):
|
if url.startswith('rtmp'):
|
||||||
return 'rtmp'
|
return 'rtmp'
|
||||||
elif url.startswith('mms'):
|
elif url.startswith('mms'):
|
||||||
|
Loading…
Reference in New Issue
Block a user