Skip to content

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

Bug fix.

Steve Micallefdecc5caeec8c
diff --git a/modules/sfp_coderepo.py b/modules/sfp_coderepo.py
index d0f2dcdd..bc1298e5 100644
--- a/modules/sfp_coderepo.py
+++ b/modules/sfp_coderepo.py
@@ -127,7 +127,7 @@ class sfp_coderepo(SpiderFootPlugin):
res = self.sf.fetchUrl(url, timeout=self.opts['_fetchtimeout'],
useragent="SpiderFoot")
- if res == None:
+ if res['content'] == None:
self.sf.error("Unable to fetch " + url, False)
failed = True
@@ -158,7 +158,7 @@ class sfp_coderepo(SpiderFootPlugin):
res = self.sf.fetchUrl(url, timeout=self.opts['_fetchtimeout'],
useragent="SpiderFoot")
- if res == None:
+ if res['content'] == None:
self.sf.error("Unable to fetch " + url, False)
continue