Skip to content

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

sfp_reversewhois: Use lxml parser for BeautifulSoup (#1187)

bcoles3d8b605e2e28
diff --git a/modules/sfp_reversewhois.py b/modules/sfp_reversewhois.py
index 1199d2de..e0efab60 100644
--- a/modules/sfp_reversewhois.py
+++ b/modules/sfp_reversewhois.py
@@ -75,7 +75,7 @@ class sfp_reversewhois(SpiderFootPlugin):
self.errorState = True
return ret
- html = BeautifulSoup(res["content"])
+ html = BeautifulSoup(res["content"], features="lxml")
date_regex = re.compile(r'\d{4}-\d{2}-\d{2}')
registrars = set()
domains = set()