1
0
mirror of synced 2026-04-30 14:58:48 +08:00

fix: 'continue' when ip not found

This commit is contained in:
MiyakoMeow
2025-03-03 05:27:32 +08:00
parent 36ff49c4fe
commit 2edabee4ab

View File

@@ -119,7 +119,9 @@ async def main() -> None:
for index, github_url in enumerate(GITHUB_URLS):
try:
ip = await get_ip(session, github_url)
if ip is None:
print(f"{github_url}: IP Not Found")
continue
content += ip.ljust(30) + github_url + "\n"
content_list.append((ip, github_url,))
except Exception: