Skip to content

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

Bug fix.

Steve4228f310e0b9
diff --git a/modules/sfp_duckduckgo.py b/modules/sfp_duckduckgo.py
index 6b6996dd..8abbd6ad 100644
--- a/modules/sfp_duckduckgo.py
+++ b/modules/sfp_duckduckgo.py
@@ -104,7 +104,9 @@ class sfp_duckduckgo(SpiderFootPlugin):
name = "AFFILIATE_" + name
for item in ret['RelatedTopics']:
- cat = item['Text']
+ cat = None
+ if 'Text' in item:
+ cat = item['Text']
if cat == None or cat == "":
self.sf.debug("No category text found from DuckDuckGo.")
continue