mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
newretro: fix 0c7b2b88eb
we want to handle the href when it is missing, but we also want to spot when a site adds new cats that we have not mapped yet.
This commit is contained in:
@@ -130,14 +130,19 @@ search:
|
||||
- name: andmatch
|
||||
|
||||
fields:
|
||||
category:
|
||||
category_href:
|
||||
selector: a[href^="browse.php?cat="]
|
||||
attribute: href
|
||||
optional: true
|
||||
category_id:
|
||||
selector: a[href^="browse.php?cat="]
|
||||
attribute: href
|
||||
optional: true
|
||||
default: 129
|
||||
filters:
|
||||
- name: querystring
|
||||
args: cat
|
||||
category:
|
||||
text: "{{ if .Result.category_href }}{{ .Result.category_id }}{{ else }}129{{ end }}"
|
||||
title:
|
||||
selector: a[href^="details.php?id="]:has(b)
|
||||
details:
|
||||
|
Reference in New Issue
Block a user