mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-02 21:07:50 +08:00
Remove superfluous error messages
This commit is contained in:
parent
ecf6f49f7e
commit
ceca62c566
@ -3137,9 +3137,9 @@ class GenericIE(InfoExtractor):
|
|||||||
info = self._parse_jwplayer_data(
|
info = self._parse_jwplayer_data(
|
||||||
jwplayer_data, video_id, require_title=False, base_url=url)
|
jwplayer_data, video_id, require_title=False, base_url=url)
|
||||||
return merge_dicts(info, info_dict)
|
return merge_dicts(info, info_dict)
|
||||||
except ExtractorError as e:
|
except ExtractorError:
|
||||||
self.to_screen(e.msg_without_bug_report)
|
# If there is an error, try a different extractor
|
||||||
self.to_screen("Trying different extractor")
|
pass
|
||||||
|
|
||||||
# Video.js embed
|
# Video.js embed
|
||||||
mobj = re.search(
|
mobj = re.search(
|
||||||
|
@ -748,7 +748,6 @@ class ExtractorError(YoutubeDLError):
|
|||||||
msg = video_id + ': ' + msg
|
msg = video_id + ': ' + msg
|
||||||
if cause:
|
if cause:
|
||||||
msg += ' (caused by %r)' % cause
|
msg += ' (caused by %r)' % cause
|
||||||
self.msg_without_bug_report = msg
|
|
||||||
if not expected:
|
if not expected:
|
||||||
msg += bug_reports_message()
|
msg += bug_reports_message()
|
||||||
super(ExtractorError, self).__init__(msg)
|
super(ExtractorError, self).__init__(msg)
|
||||||
|
Loading…
Reference in New Issue
Block a user