Skip to content

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

Bug fix.

Steve Micallefb8c7d613ee98
diff --git a/modules/sfp_hosting.py b/modules/sfp_hosting.py
index a429a547..dd79f74a 100644
--- a/modules/sfp_hosting.py
+++ b/modules/sfp_hosting.py
@@ -53,7 +53,7 @@ class sfp_hosting(SpiderFootPlugin):
data['content'] = self.sf.cacheGet("sfipcat", 48)
if data['content'] is None:
- data['content'] = self.sf.fetchUrl(url, useragent=self.opts['_useragent'])
+ data = self.sf.fetchUrl(url, useragent=self.opts['_useragent'])
if data['content'] is None:
self.sf.error("Unable to fetch " + url, False)
return None