joepie91 / python-whois

A python module for retrieving and parsing WHOIS data
Do What The F*ck You Want To Public License
398 stars 187 forks source link

Update net.py #135

Open humblepoti opened 6 years ago

humblepoti commented 6 years ago

This change avoid the unbearable error related to "utf codec can't decode".

Keisial commented 6 years ago

Looks good. Do you have an example of a domain with such bad data?

humblepoti commented 6 years ago

Sure, as far as I remember I have experienced with these two below:

aymorecfi.com.br acfi.com.br

They surely will raise an UnicodeDecodeError exception.