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
This commit is contained in:
James Taylor
2020-10-25 11:15:59 -07:00
parent bcaec7b7d3
commit 3a081a9c46
4 changed files with 126 additions and 44 deletions

View File

@@ -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,