Skip to content

Commit

Permalink
NNC: add season search support resolves #10481
Browse files Browse the repository at this point in the history
  • Loading branch information
garfield69 committed Dec 12, 2020
1 parent f8d3781 commit eaa4126
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Jackett.Common/Definitions/noname-club.yml
Original file line number Diff line number Diff line change
Expand Up @@ -757,6 +757,11 @@ search:
nm: "{{ .Keywords }}"
pn: ""
submit: "Поиск"
keywordsfilters:
- name: re_replace # S01 to сезон 1
args: ["(?i)\\bS0*(\\d+)\\b", " сезон $1"]
- name: re_replace # S01E01 to сезон 1 серии 1
args: ["(?i)\\bS0*(\\d+)E0*(\\d+)\\b", " сезон $1 серии $2"]

rows:
selector: table.forumline.tablesorter > tbody > tr:has(a[href^="viewtopic.php?t="]):has(a[href^="download.php?id="])
Expand Down

0 comments on commit eaa4126

Please sign in to comment.