mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
theempire: searching for season packs
This commit is contained in:
@@ -109,6 +109,13 @@ search:
|
|||||||
sort: "{{ .Config.sort }}"
|
sort: "{{ .Config.sort }}"
|
||||||
d: "{{ .Config.type }}"
|
d: "{{ .Config.type }}"
|
||||||
|
|
||||||
|
keywordsfilters:
|
||||||
|
# if searching for season packs switch S01 to Series 1
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(?i)\\bS0(\\d{1,2})\\b", "Series $1"]
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(?i)\\bS(\\d{1,3})\\b", "Series $1"]
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table[border="0"] > tbody > tr.ttable:has(a[href^="browse.php?cat="]):not(:has(font[color="blue"])):not(:contains("*TCG*"))
|
selector: table[border="0"] > tbody > tr.ttable:has(a[href^="browse.php?cat="]):not(:has(font[color="blue"])):not(:contains("*TCG*"))
|
||||||
|
|
||||||
@@ -122,6 +129,9 @@ search:
|
|||||||
title:
|
title:
|
||||||
selector: a[href^="details.php?id="]
|
selector: a[href^="details.php?id="]
|
||||||
attribute: title
|
attribute: title
|
||||||
|
filters:
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(?i)\\bSeries[\\s]+(\\d+)\\b", "S$1"]
|
||||||
details:
|
details:
|
||||||
selector: a[href^="details.php?id="]
|
selector: a[href^="details.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
Reference in New Issue
Block a user