mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-09-27 23:20:23 +09:00
[utils] Ensure a value from determine_protocol()
This commit is contained in:
parent
045ff706ee
commit
7a438da3b1
@ -4871,7 +4871,7 @@ def determine_protocol(info_dict):
|
||||
elif ext == 'f4m':
|
||||
return 'f4m'
|
||||
|
||||
return compat_urllib_parse_urlparse(url).scheme
|
||||
return compat_urllib_parse_urlparse(url).scheme or 'http'
|
||||
|
||||
|
||||
def render_table(header_row, data):
|
||||
|
Loading…
Reference in New Issue
Block a user