Skip to content

Commit

Permalink
Merge pull request #76 from altf4arnold/fixing-ripe
Browse files Browse the repository at this point in the history
Fixing ripe
  • Loading branch information
altf4arnold authored Jun 15, 2024
2 parents 577cbf4 + 515d8d3 commit 3330a08
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions atlas/atlascreator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__":
Expand Down
2 changes: 1 addition & 1 deletion tldtest/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
{% else %}
<td class="border border-slate-700 text-red-700">{{ TLD.rdap }}</td>
{% endif %}
<td class="border border-slate-700"><a class="text-red-700 underline" href="https://atlas.ripe.net/measurementdetail/{{ TLD.atlasv4 }}" target="_blank">IPv4</a> <a class="text-green-600 underline" href="https://atlas.ripe.net/measurementdetail/{{ TLD.atlasv6 }}" target="_blank">IPv6</a></td>
<td class="border border-slate-700"><a class="text-red-700 underline" href="https://atlas.ripe.net/measurements/{{ TLD.atlasv4 }}" target="_blank">IPv4</a> <a class="text-green-600 underline" href="https://atlas.ripe.net/measurements/{{ TLD.atlasv6 }}" target="_blank">IPv6</a></td>
<td class="border border-slate-700"><a href="{{ TLD.link }}"
class="font-medium text-blue-600 dark:text-blue-500 hover:underline"
target="_blank"
Expand Down

0 comments on commit 3330a08

Please sign in to comment.