acgsou: use windows UA to bypass linux UA block. resolves #13844

This commit is contained in:
ilike2burnthing 2023-01-06 20:12:41 +00:00 committed by GitHub
parent df50d290c5
commit 8c57a6a03d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -61,6 +61,10 @@ search:
# https://www.acgsou.com/search.php?keyword=test
- 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"]
rows:
selector: table tbody tr[class^="alt"]:has(td:nth-child(3) a)