Skip to content

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.

Unicode handling bug fix.

smicallefd15f4d35b123
diff --git a/modules/sfp_socialprofiles.py b/modules/sfp_socialprofiles.py
index aa1059d6..446d770c 100644
--- a/modules/sfp_socialprofiles.py
+++ b/modules/sfp_socialprofiles.py
@@ -89,7 +89,8 @@ class sfp_socialprofiles(SpiderFootPlugin):
self.opts['_internettlds'])
for site in sites.keys():
- searchStr = sites[site][0].format(eventData).replace(" ", "%20")
+ searchStr = unicode(sites[site][0].format(eventData),
+ errors="ignore").replace(" ", "%20")
searchDom = sites[site][1]
if self.opts['method'].lower() == "google":