bug fixing

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

View file

@ -137,6 +137,9 @@ class EmailHarvester(object):
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