[utils] Sanitize URL when determining protocol

Closes #1406
pull/1386/head
pukkandan 3 years ago
parent 7e59ca440a
commit 7de837a5e3
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698

@ -4731,7 +4731,7 @@ def determine_protocol(info_dict):
if protocol is not None:
return protocol
url = info_dict['url']
url = sanitize_url(info_dict['url'])
if url.startswith('rtmp'):
return 'rtmp'
elif url.startswith('mms'):

Loading…
Cancel
Save