Closed shimmy568 closed 3 years ago
Yep, there is bug inside onion hostname normalization.
But anyway your address will not work because it's redirecting to v3 hidden service which not supported for now:
Sending: GET http://propub3r6espa33w.onion
send: b'GET / HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: propub3r6espa33w.onion\r\nConnection: close\r\n\r\n'
...
reply: 'HTTP/1.1 301 Moved Permanently\r\n'
header: Server: nginx
header: Content-Type: text/html
header: Content-Length: 178
header: Connection: close
header: Location: https://www.propub3r6espa33w.onion/
...
reply: 'HTTP/1.1 302 Moved Temporarily\r\n'
header: Server: nginx/1.14.0 (Ubuntu)
header: Content-Type: text/html
header: Content-Length: 170
header: Connection: close
header: Location: https://p53lf57qovyuvwsc6xnrppyply3vtqm7l6pcobkmyqsiofyeznfu5uqd.onion/
...
Exception: v3 onion hidden service not supported yet
For some reason some onion URL's seem to work and others don't.
When I do it works fine:
However this crashes the program:
The program output:
It seems like this function is getting a url format that it doesn't expect and returns None
Any input would be greatly appreciated