1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-22 15:57:50 +00:00

kickasstorrents-to: trap the 403 rather than give 0 results

this should help raise awareness that the indexer is being blocked
This commit is contained in:
Garfield69 2024-11-29 19:29:14 +13:00
parent 433709b57a
commit e77e5f499b

View file

@ -71,6 +71,9 @@ search:
- path: "{{ if .Keywords }}usearch/{{ .Keywords }}/{{ else }}new/{{ end }}4/?sortby={{ .Config.sort }}&sort={{ .Config.type }}" - path: "{{ if .Keywords }}usearch/{{ .Keywords }}/{{ else }}new/{{ end }}4/?sortby={{ .Config.sort }}&sort={{ .Config.type }}"
- path: "{{ if .Keywords }}usearch/{{ .Keywords }}/{{ else }}new/{{ end }}5/?sortby={{ .Config.sort }}&sort={{ .Config.type }}" - path: "{{ if .Keywords }}usearch/{{ .Keywords }}/{{ else }}new/{{ end }}5/?sortby={{ .Config.sort }}&sort={{ .Config.type }}"
error:
- selector: h1:contains("403 Forbidden")
rows: rows:
selector: table.data tr.odd:has(a[class="cellMainLink"]), table.data tr.even:has(a[class="cellMainLink"]) selector: table.data tr.odd:has(a[class="cellMainLink"]), table.data tr.even:has(a[class="cellMainLink"])
filters: filters: