too many except

This commit is contained in:
Marcin Biczan 2023-05-22 21:25:05 +02:00
parent e7c42394a6
commit 8a2249ecf1

View File

@ -115,7 +115,6 @@ if not hasattr(InfoExtractor, '_match_valid_url'):
try:
# return self._parse_json(json_string, video_id, ignore_extra=True, **kwargs)
return self._parse_json(json_string, video_id, **kwargs)
except ExtractorError as e:
except ExtractorError as e:
if not self._downloader.params.get('no_color') and compat_os_name != 'nt' and sys.stderr.isatty():
_name = '\033[0;34m%s\033[0m' % name