Skip to content

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

Don't report errors for 403.

Steve4f4891259709
diff --git a/modules/sfp_psbdmp.py b/modules/sfp_psbdmp.py
index c22821db..8d04f685 100644
--- a/modules/sfp_psbdmp.py
+++ b/modules/sfp_psbdmp.py
@@ -60,11 +60,13 @@ class sfp_psbdmp(SpiderFootPlugin):
else:
url = "http://psbdmp.com/api/search/domain/" + qry
- # https://haveibeenpsbdmp.com/API/v2#RateLimiting
- time.sleep(1)
res = self.sf.fetchUrl(url, timeout=self.opts['_fetchtimeout'],
useragent="SpiderFoot")
+ if res['code'] == 403:
+ self.sf.info("Unable to fetch data from psbdmp.com right now.")
+ return None
+
try:
ret = json.loads(res['content'])
except Exception as e: