diff options
author | James Taylor <user234683@users.noreply.github.com> | 2020-10-25 13:12:49 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2020-10-25 13:12:49 -0700 |
commit | 8abfe150f0ccc73e392312f92ee2c527e570343b (patch) | |
tree | 2207dbff3e0206ba76c8f266887f33db467f5192 | |
parent | 7e5c0bf26176b7b8e27b8b821cff12726d794203 (diff) | |
download | yt-local-8abfe150f0ccc73e392312f92ee2c527e570343b.tar.lz yt-local-8abfe150f0ccc73e392312f92ee2c527e570343b.tar.xz yt-local-8abfe150f0ccc73e392312f92ee2c527e570343b.zip |
new_identity: authenticate with blank password
See https://github.com/user234683/youtube-local/issues/20#issuecomment-716198162
-rw-r--r-- | youtube/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/util.py b/youtube/util.py index ccdcbc1..7bf03db 100644 --- a/youtube/util.py +++ b/youtube/util.py @@ -112,7 +112,7 @@ class TorManager: try: port = settings.tor_control_port with stem.control.Controller.from_port(port=port) as controller: - controller.authenticate() + controller.authenticate('') print('new_identity: Getting new identity') controller.signal(stem.Signal.NEWNYM) print('new_identity: NEWNYM signal sent') |