From 3a081a9c465828b3491d15b673074b7dbdcfc822 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Sun, 25 Oct 2020 11:15:59 -0700 Subject: Automatically change tor circuit once if ip is blocked Use stem library to send a new identity signal via the tor control port. See #20 --- settings.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'settings.py') diff --git a/settings.py b/settings.py index cf1564e..0b6f578 100644 --- a/settings.py +++ b/settings.py @@ -30,6 +30,13 @@ SETTINGS_INFO = collections.OrderedDict([ 'category': 'network', }), + ('tor_control_port', { + 'type': int, + 'default': 9151, + 'comment': '', + 'category': 'network', + }), + ('port_number', { 'type': int, 'default': 8080, -- cgit v1.2.3