WIP: Add support for tor using PySocks and optionally stem #2
|
@ -65,7 +65,9 @@ def parse_arguments(): # pylint: disable=too-many-branches,too-many-statements
|
||||||
help='SOCKS proxy address in the form <HOST>:<PORT>')
|
help='SOCKS proxy address in the form <HOST>:<PORT>')
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--tor', action='store_true',
|
'--tor', action='store_true',
|
||||||
help='The SOCKS proxy is tor, use 127.0.0.1:9050 if not specified')
|
help='The SOCKS proxy is tor, use 127.0.0.1:9050 if not specified,'
|
||||||
|
' start tor and setup a hidden service'
|
||||||
|
)
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
if args.port:
|
if args.port:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user