From f00cf1c02b2a57998eb868abf8ae736db012d333 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Wed, 9 Oct 2024 20:11:45 +1300 Subject: [PATCH] assorted unit3d: add banned detection 5bdbb17a317da1d7e9da3f9ea40f8ef47e23609f --- src/Jackett.Common/Definitions/hawke-uno.yml | 1 + src/Jackett.Common/Definitions/jptv-api.yml | 1 + src/Jackett.Common/Definitions/theoldschool-api.yml | 1 + src/Jackett.Common/Definitions/torrentseeds-api.yml | 1 + 4 files changed, 4 insertions(+) diff --git a/src/Jackett.Common/Definitions/hawke-uno.yml b/src/Jackett.Common/Definitions/hawke-uno.yml index 814692513..de82757d1 100644 --- a/src/Jackett.Common/Definitions/hawke-uno.yml +++ b/src/Jackett.Common/Definitions/hawke-uno.yml @@ -60,6 +60,7 @@ login: - selector: a[href*="/login"] message: text: "The API key was not accepted by {{ .Config.sitelink }}." + - selector: :root:contains("Account is Banned") search: paths: diff --git a/src/Jackett.Common/Definitions/jptv-api.yml b/src/Jackett.Common/Definitions/jptv-api.yml index cb61728bc..5d714fa88 100644 --- a/src/Jackett.Common/Definitions/jptv-api.yml +++ b/src/Jackett.Common/Definitions/jptv-api.yml @@ -65,6 +65,7 @@ login: - selector: a[href*="/login"] message: text: "The API key was not accepted by {{ .Config.sitelink }}." + - selector: :root:contains("Account is Banned") search: paths: diff --git a/src/Jackett.Common/Definitions/theoldschool-api.yml b/src/Jackett.Common/Definitions/theoldschool-api.yml index bf372fea5..0d28beb57 100644 --- a/src/Jackett.Common/Definitions/theoldschool-api.yml +++ b/src/Jackett.Common/Definitions/theoldschool-api.yml @@ -91,6 +91,7 @@ login: - selector: a[href*="/login"] message: text: "The API key was not accepted by {{ .Config.sitelink }}." + - selector: :root:contains("Account is Banned") search: paths: diff --git a/src/Jackett.Common/Definitions/torrentseeds-api.yml b/src/Jackett.Common/Definitions/torrentseeds-api.yml index 73a3afade..62658451b 100644 --- a/src/Jackett.Common/Definitions/torrentseeds-api.yml +++ b/src/Jackett.Common/Definitions/torrentseeds-api.yml @@ -68,6 +68,7 @@ login: - selector: a[href*="/login"] message: text: "The API key was not accepted by {{ .Config.sitelink }}." + - selector: :root:contains("Account is Banned") search: paths: