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 }}"
|
||||
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:
|
||||
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:
|
||||
selector: a[href^="details.php?id="]
|
||||
attribute: title
|
||||
filters:
|
||||
- name: re_replace
|
||||
args: ["(?i)\\bSeries[\\s]+(\\d+)\\b", "S$1"]
|
||||
details:
|
||||
selector: a[href^="details.php?id="]
|
||||
attribute: href
|
||||
|
Reference in New Issue
Block a user