mirror of
https://github.com/maldevel/EmailHarvester.git
synced 2024-11-13 03:25:01 +08:00
bug fixing
This commit is contained in:
parent
0f2bfa6109
commit
7d414ee3a7
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue