Skip to content

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

Bug fix.

smicallef814e9a64861e
diff --git a/sflib.py b/sflib.py
index aae8fc5b..e2ec3efa 100644
--- a/sflib.py
+++ b/sflib.py
@@ -1259,8 +1259,9 @@ class SpiderFoot:
absLink = proto + ':' + link
# Maybe the domain was just mentioned and not a link, so we make it one
- if absLink is None and domain.lower() in link.lower():
- absLink = proto + '://' + link
+ for domain in domains:
+ if absLink is None and domain.lower() in link.lower():
+ absLink = proto + '://' + link
# Otherwise, it's a flat link within the current directory
if absLink is None: