1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-05-19 11:39:28 +00:00

[utils] Ensure a value from determine_protocol()

This commit is contained in:
dirkf 2022-01-26 18:12:55 +00:00
parent 045ff706ee
commit 7a438da3b1

View file

@ -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):