feat(service): warn when a proxy exit is outside GEOFENCE

This commit is contained in:
imSp4rky
2026-11-30 09:48:54 -07:00
parent f0163439d4
commit ac7d10abb6
7 changed files with 95 additions and 16 deletions
+2 -2
View File
@@ -69,8 +69,8 @@ class EXAMPLE(Service):
# ALIASES: extra CLI tags that resolve to this service (e.g. `dl EX ...`).
ALIASES = ("EX", "DOMAIN")
# GEOFENCE: regions required; the framework warns/blocks if proxy region mismatches.
GEOFENCE = ("US", "UK")
# GEOFENCE: regions required; the framework warns if the proxy exit region is not one of them.
GEOFENCE = ("US", "GB")
# GEOBLOCK: the negative form; regions where the service refuses to work, all others allowed.
# GEOBLOCK = ("GB",)
# TITLE_RE: named groups (?P<...>) parsed in get_titles(). Accepts URL or bare id.