diff --git a/src/you_get/common.py b/src/you_get/common.py index 9049fb81..12b3c73a 100644 --- a/src/you_get/common.py +++ b/src/you_get/common.py @@ -537,7 +537,8 @@ def playlist_not_supported(name): return f def print_info(site_info, title, type, size): - type = type.lower() + if type: + type = type.lower() if type in ['3gp']: type = 'video/3gpp' elif type in ['asf', 'wmv']: