1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-01 12:46:23 +00:00

NNC: add season search support resolves #10481

This commit is contained in:
Garfield69 2020-12-13 06:58:10 +13:00
parent f8d3781f7a
commit eaa4126da5

View file

@ -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="])