Use python 3 try-except syntax
This commit is contained in:
parent
8ea9ae6008
commit
695c672e99
@ -3123,7 +3123,7 @@ class GenericIE(InfoExtractor):
|
||||
info = self._parse_jwplayer_data(
|
||||
jwplayer_data, video_id, require_title=False, base_url=url)
|
||||
return merge_dicts(info, info_dict)
|
||||
except ExtractorError, e:
|
||||
except ExtractorError as e:
|
||||
self.to_screen(e.msg_without_bug_report)
|
||||
self.to_screen("Trying different extractor")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user