aboutsummaryrefslogtreecommitdiffstats
path: root/youtube
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2020-10-25 13:12:49 -0700
committerJames Taylor <user234683@users.noreply.github.com>2020-10-25 13:12:49 -0700
commit8abfe150f0ccc73e392312f92ee2c527e570343b (patch)
tree2207dbff3e0206ba76c8f266887f33db467f5192 /youtube
parent7e5c0bf26176b7b8e27b8b821cff12726d794203 (diff)
downloadyt-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
Diffstat (limited to 'youtube')
-rw-r--r--youtube/util.py2
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')