Skip to content

Commit

Permalink
fix AttributeError("'YoutubeIE' object has no attribute '_YoutubeIE__…
Browse files Browse the repository at this point in the history
…ie_msg'"))
  • Loading branch information
gy-chen committed Mar 23, 2024
1 parent a96a45b commit d3d52fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions youtube_dl/extractor/youtube.py
Expand Up @@ -1647,10 +1647,10 @@ def _decrypt_nsig(self, n, video_id, player_url):
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))
Expand Down

0 comments on commit d3d52fc

Please sign in to comment.