From dc260961943bc5c2817c971c48e7e12353bfbc76 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 1 Feb 2024 22:10:40 +0200 Subject: [PATCH] debug --- files/routes/static.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/routes/static.py b/files/routes/static.py index b6e7c20b4..f8c6f4e67 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -441,6 +441,7 @@ if SITE == 'watchpeopledie.tv': ip = request.headers.get("X-Forwarded-For") req = requests.get(f'http://ipinfo.io/{ip}/json') country = json.loads(req.text)['country'] + print(country, flush=True) if country == 'AU': abort(403, "This video is blocked in Australia.") return send_file('/videos/1706708037797343.mp4')