fix: trying again for data
All checks were successful
forgejo/scripts/pipeline/head This commit looks good

This commit is contained in:
devaine 2026-11-13 10:50:04 -06:00
commit 5c47f8cffb
Signed by: devaine
GPG key ID: 954B1DCAC6FF84EE

View file

@ -37,13 +37,16 @@ def getSubDomains():
def getCurrentIP(): def getCurrentIP():
rrsetList = [] rrsetList = list(getSubDomains())
for rrset in dict(getSubDomains()):
rrsetList.append(rrset["records"][0])
value, count = Counter(rrsetList).most_common(1)[0] for rrset in rrsetList:
print(rrset.get("records", [])[0])
return value #rrsetList.append(rrset[0])
#value, count = Counter(rrsetList).most_common(1)[0]
return None
def filterRecords(): def filterRecords():