[FIX] API has changed at the other side. Link taken is not the correct one anymore

This commit is contained in:
Arnold Dechamps 2024-05-18 02:53:40 +02:00
parent 2f920dfba3
commit a545ecc0eb
No known key found for this signature in database
GPG key ID: AE66543374E41C89

View file

@ -157,7 +157,7 @@ def grabber(data, rdaptlds):
except:
organisation = "Reserved"
try:
link = data["links"][2]["href"]
link = data["links"][0]["href"]
except Exception as e:
print("link not found for " + tld)
print(e)