fix AttributeError("'YoutubeIE' object has no attribute '_YoutubeIE__ie_msg'"))

This commit is contained in:
GYCHEN 2024-03-23 12:59:12 +00:00
parent a96a45b2cd
commit d3d52fc7f8
1 changed files with 3 additions and 3 deletions

View File

@ -1647,10 +1647,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
except JSInterpreter.Exception as e:
self.report_warning(
'%s (%s %s)' % (
self.__ie_msg(
'Unable to decode n-parameter: download likely to be throttled'),
'Unable to decode n-parameter: download likely to be throttled',
error_to_compat_str(e),
traceback.format_exc()))
traceback.format_exc()),
video_id=video_id)
return
self.write_debug('Decrypted nsig {0} => {1}'.format(n, ret))