You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/mnt/d/git/personal/TorBot/src$ python3 torBot.py -u zqktlwiuavvvqqt4ybvgvi7tyo4hjl5xgfuvpdf6otjiycgwqbym2qad.onion --gather -p 9052
Traceback (most recent call last):
File "torBot.py", line 261, in <module>
main()
File "torBot.py", line 142, in main
collect_data()
File "/mnt/d/git/personal/TorBot/src/modules/collect_data.py", line 60, in collect_data
resp = requests.get('https://thehiddenwiki.org')
File "/home/me/.local/lib/python3.8/site-packages/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "/home/me/.local/lib/python3.8/site-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/home/me/.local/lib/python3.8/site-packages/requests/sessions.py", line 524, in request
resp = self.send(prep, **send_kwargs)
File "/home/me/.local/lib/python3.8/site-packages/requests/sessions.py", line 637, in send
r = adapter.send(request, **kwargs)
File "/home/me/.local/lib/python3.8/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/home/me/.local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 597, in urlopen
httplib_response = self._make_request(conn, method, url,
File "/home/me/.local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 343, in _make_request
self._validate_conn(conn)
File "/home/me/.local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 839, in _validate_conn
conn.connect()
File "/home/me/.local/lib/python3.8/site-packages/urllib3/connection.py", line 301, in connect
conn = self._new_conn()
File "/home/me/.local/lib/python3.8/site-packages/urllib3/connection.py", line 158, in _new_conn
conn = connection.create_connection(
File "/home/me/.local/lib/python3.8/site-packages/urllib3/util/connection.py", line 70, in create_connection
sock.connect(sa)
File "/home/me/.local/lib/python3.8/site-packages/socks.py", line 47, in wrapper
return function(*args, **kwargs)
File "/home/me/.local/lib/python3.8/site-packages/socks.py", line 787, in connect
super(socksocket, self).connect(proxy_addr)
TypeError: an integer is required (got type str)
The text was updated successfully, but these errors were encountered:
Describe the bug
A TypeError is thrown if the port is specified on the command line
To Reproduce
Steps to reproduce the behavior:
python3 torBot.py -u zqktlwiuavvvqqt4ybvgvi7tyo4hjl5xgfuvpdf6otjiycgwqbym2qad.onion --gather -p 9052
Expected behavior
It to not throw a TypeError
Additional context
The text was updated successfully, but these errors were encountered: