Skip to content

Commit

Permalink
uhdbits: add season pack search support. resolves Jackett#10423
Browse files Browse the repository at this point in the history
  • Loading branch information
garfield69 committed Dec 7, 2020
1 parent 858bce6 commit 92f7277
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Jackett.Common/Definitions/uhdbits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 92f7277

Please sign in to comment.