diff --git a/modules/sfp_accounts.py b/modules/sfp_accounts.py index 98af816a68..2a21941f2e 100644 --- a/modules/sfp_accounts.py +++ b/modules/sfp_accounts.py @@ -78,7 +78,7 @@ def setup(self, sfc, userOpts=dict()): content = self.sf.cacheGet("sfaccountsv2", 48) if content is None: - url = "https://raw.githubusercontent.com/WebBreacher/WhatsMyName/main/wmn-data.json" + url = "https://raw.githubusercontent.com/WebBreacher/WhatsMyName/refs/heads/main/wmn-data.json" data = self.sf.fetchUrl(url, useragent="SpiderFoot") if data['content'] is None: @@ -104,14 +104,17 @@ def producedEvents(self): "SIMILAR_ACCOUNT_EXTERNAL"] def checkSite(self, name, site): - if 'uri_check' not in site: + if 'check_uri' not in site: return - url = site['uri_check'].format(account=name) + url = site['check_uri'].format(account=name) if 'uri_pretty' in site: ret_url = site['uri_pretty'].format(account=name) + elif 'pretty_uri' in site: + ret_url = site['pretty_uri'].format(account=name) else: ret_url = url + retname = f"{site['name']} (Category: {site['cat']})\n{ret_url}" post = None