uhdbits: add season pack search support. resolves #10423

This commit is contained in:
Garfield69 2020-12-08 07:40:36 +13:00
parent 858bce64c6
commit 92f7277cb1
1 changed files with 7 additions and 0 deletions

View File

@ -81,6 +81,10 @@ search:
order_way: "{{ .Config.type }}"
action: advanced
searchsubmit: 1
keywordsfilters:
# if searching for season packs switch S01 to season 1 #10423
- name: re_replace
args: ["(?i)(S)(\\d{1,3})$", "season $2"]
rows:
selector: table#torrent_table > tbody > tr.torrent
@ -127,6 +131,9 @@ search:
args: [" / 2x", ""]
- name: re_replace
args: [" / ", " "]
# #10423
- name: re_replace
args: ["(?i)(season )", "S"]
details:
selector: a.torrent_name
attribute: href