From f1470fc3c5d5e9fc2f45322f88d3eb11a4ab1603 Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Sat, 7 Jan 2023 16:15:22 +0000 Subject: [PATCH] acgsou: alter user-agent Windows UA now being blocked. If it happens again, will either have to add a UA config field or remove the indexer. --- src/Jackett.Common/Definitions/acgsou.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Jackett.Common/Definitions/acgsou.yml b/src/Jackett.Common/Definitions/acgsou.yml index 3b04e6930..18e56d617 100644 --- a/src/Jackett.Common/Definitions/acgsou.yml +++ b/src/Jackett.Common/Definitions/acgsou.yml @@ -62,8 +62,8 @@ search: - path: "{{ if .Keywords }}search.php?keyword={{ .Keywords }}{{ else }}1.html{{ end }}" headers: - # site blocks Jackett's Linux User-Agent, so use Jackett's Windows User-Agent instead - User-Agent: ["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36"] + # site blocks Jackett's User-Agents, so slightly alter it here (e.g. Safari/537.36 > Safari/537.35) + User-Agent: ["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.35"] rows: selector: table tbody tr[class^="alt"]:has(td:nth-child(3) a)