From 1afb393f983ea4562d7d3e2105c3d5b1fa60dcab Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 30 Aug 2023 06:51:28 +0300 Subject: [PATCH] NZ geoblock --- files/classes/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/classes/user.py b/files/classes/user.py index bb29a5238..8d4a7e79c 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -1134,7 +1134,7 @@ class User(Base): if request.headers.get("Cf-Ipcountry") == 'NZ': if 'christchurch' in other.title.lower(): return False - if SITE == 'watchpeopledie.tv' and other.id == 5: + if SITE == 'watchpeopledie.tv' and other.id in {5, 17212, 22653, 23814}: return False else: if hasattr(other, 'is_blocking') and other.is_blocking and not request.path.endswith(f'/{other.id}'):