mirror of
https://github.com/soimort/you-get.git
synced 2025-02-10 20:22:27 +03:00
FIX:the return named type of url_info() is None, print_info is error because of NoneType does not have lower()
This commit is contained in:
parent
30e179cc3f
commit
d7265e901e
@ -537,7 +537,7 @@ def playlist_not_supported(name):
|
||||
return f
|
||||
|
||||
def print_info(site_info, title, type, size):
|
||||
type = type.lower()
|
||||
type = str(type).lower()
|
||||
if type in ['3gp']:
|
||||
type = 'video/3gpp'
|
||||
elif type in ['asf', 'wmv']:
|
||||
|
Loading…
Reference in New Issue
Block a user