Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions modules/sfp_accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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<SFURL>{ret_url}</SFURL>"

post = None
Expand Down