1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-03 13:46:10 +00:00

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.
This commit is contained in:
ilike2burnthing 2023-01-07 16:15:22 +00:00 committed by GitHub
parent ac535dc7ad
commit f1470fc3c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)