Anorov/PySocks

socks5 with username only (no password)

ricary37 opened this issue · 0 comments

Sometimes I use socks5 with username only.
proxy = "socks5://test:@127.0.0.1:1080"

Please replace socks.py line 510:

if username and password:
to
if username:

and insert after line 535:

            if not password:
              password=b''

Thank you!