fix: trying again for data
All checks were successful
forgejo/scripts/pipeline/head This commit looks good
All checks were successful
forgejo/scripts/pipeline/head This commit looks good
This commit is contained in:
parent
d09c8bc331
commit
5c47f8cffb
1 changed files with 8 additions and 5 deletions
|
|
@ -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():
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue