From 515d8d3ebc6c6c3812b166dd2305fb28ff73ad81 Mon Sep 17 00:00:00 2001 From: altf4arnold Date: Sun, 16 Jun 2024 00:14:52 +0200 Subject: [PATCH] [FIX] Going around the rate-limiting of RIPE-NCC --- atlas/atlascreator.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/atlas/atlascreator.py b/atlas/atlascreator.py index 0d7c15b..7d6637d 100644 --- a/atlas/atlascreator.py +++ b/atlas/atlascreator.py @@ -95,8 +95,10 @@ def main(): db = TLD.objects.get(tld=tld) unicodetlds.append(db.unicodetld) for tld in unicodetlds: - webrequest(tld, 4) - webrequest(tld, 6) + if db.atlasv4 is None: + webrequest(tld, 4) + if db.atlasv6 is None: + webrequest(tld, 6) if __name__ == "__main__":