add api server url and fix check if website is up

This commit is contained in:
2025-10-06 02:40:32 +02:00
parent dfc44e3534
commit 2cc4b9e815
3 changed files with 13 additions and 6 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ async def init_uztracker():
up = True
else:
up = False
print(f"Rutracker seems down, status code: {response.status_code}")
print(f"Uztracker seems down, status code: {response.status_code}")
except requests.exceptions.RequestException as e:
print(f"\nRequest Exception on {url_uztracker}:")
print(e)