bug fixing

This commit is contained in:
John Doe 2017-04-30 22:22:14 +03:00
parent 0f2bfa6109
commit 7d414ee3a7

View file

@ -136,7 +136,10 @@ class EmailHarvester(object):
except Exception as e:
print(e)
sys.exit(4)
if r.encoding is None:
r.encoding = 'UTF-8'
self.results = r.content.decode(r.encoding)
self.totalresults += self.results