Closed PhillHenry closed 4 years ago
Your patch makes the code incompatible with Python3 as sys.stdout.write() accepts type str() while data.encode('utf8') make it type bytes(). Could you please ensure your terminal supports UTF8?
Yes, my terminal supports UTF-8 and that encoding is clicked.
Which Python version do you use?
$ python --version Python 2.7.12
Could you please check it with Python 3.6 or newer?
Python 3.6 or newer is required. Backward compatibility with Python 2.x has been abandoned almost a year ago. Closing this one.
Running on Ubuntu 16.04, I was getting:
I fixed it with the attached patch.
dnstwist.py.patch.txt