This commit is contained in:
Nexus 2024-04-18 11:45:48 +01:00
parent 8a7149441b
commit 50ca5b7398
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -17,7 +17,9 @@ def ip():
try:
response = requests.get(
"https://ip.shronk.tech/lookup?ip=" + ip,
headers=request.headers
headers={
"User-Agent": request.headers["User-Agent"]
}
)
response.raise_for_status()
except Exception as e: