Skip to content

Commit 71b3d62

Browse files
committed
Merge branch 'pr-1894' into niavasha
2 parents eee0482 + 0f17021 commit 71b3d62

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

modules/sfp_accounts.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def setup(self, sfc, userOpts=dict()):
7878

7979
content = self.sf.cacheGet("sfaccountsv2", 48)
8080
if content is None:
81-
url = "https://raw.githubusercontent.com/WebBreacher/WhatsMyName/main/wmn-data.json"
81+
url = "https://raw.githubusercontent.com/WebBreacher/WhatsMyName/refs/heads/main/wmn-data.json"
8282
data = self.sf.fetchUrl(url, useragent="SpiderFoot")
8383

8484
if data['content'] is None:
@@ -104,14 +104,17 @@ def producedEvents(self):
104104
"SIMILAR_ACCOUNT_EXTERNAL"]
105105

106106
def checkSite(self, name, site):
107-
if 'uri_check' not in site:
107+
if 'check_uri' not in site:
108108
return
109109

110-
url = site['uri_check'].format(account=name)
110+
url = site['check_uri'].format(account=name)
111111
if 'uri_pretty' in site:
112112
ret_url = site['uri_pretty'].format(account=name)
113+
elif 'pretty_uri' in site:
114+
ret_url = site['pretty_uri'].format(account=name)
113115
else:
114116
ret_url = url
117+
115118
retname = f"{site['name']} (Category: {site['cat']})\n<SFURL>{ret_url}</SFURL>"
116119

117120
post = None

0 commit comments

Comments
 (0)