From 8abfe150f0ccc73e392312f92ee2c527e570343b Mon Sep 17 00:00:00 2001 From: James Taylor Date: Sun, 25 Oct 2020 13:12:49 -0700 Subject: new_identity: authenticate with blank password See https://github.com/user234683/youtube-local/issues/20#issuecomment-716198162 --- youtube/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'youtube/util.py') 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') -- cgit v1.2.3