mirror of
https://github.com/reconurge/flowsint.git
synced 2026-07-11 13:35:22 -05:00
fix: read social enricher outputs as utf-8
This commit is contained in:
@@ -53,7 +53,7 @@ class MaigretEnricher(Enricher):
|
||||
return results
|
||||
|
||||
try:
|
||||
with open(output_file, "r") as f:
|
||||
with open(output_file, "r", encoding="utf-8") as f:
|
||||
raw_data = json.load(f)
|
||||
except Exception as e:
|
||||
Logger.error(
|
||||
|
||||
@@ -63,7 +63,7 @@ class SherlockEnricher(Enricher):
|
||||
continue
|
||||
|
||||
found_accounts = {}
|
||||
with open(output_file, "r") as f:
|
||||
with open(output_file, "r", encoding="utf-8") as f:
|
||||
for line in f:
|
||||
line = line.strip()
|
||||
if line and line.startswith("http"):
|
||||
|
||||
Reference in New Issue
Block a user