mirror of https://github.com/Jackett/Jackett
parent
e0c6a3b469
commit
dfc50f9852
|
@ -114,10 +114,6 @@ search:
|
||||||
args: ["(?i)\\.torrent$", ""]
|
args: ["(?i)\\.torrent$", ""]
|
||||||
title_text:
|
title_text:
|
||||||
selector: td a[href^="index.php?page=torrent-details"]
|
selector: td a[href^="index.php?page=torrent-details"]
|
||||||
filters:
|
|
||||||
# #11775
|
|
||||||
- name: re_replace
|
|
||||||
args: ["(?i)(season )", "S"]
|
|
||||||
category:
|
category:
|
||||||
selector: td a[href^="index.php?page=torrents&category="]
|
selector: td a[href^="index.php?page=torrents&category="]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
@ -126,6 +122,18 @@ search:
|
||||||
args: category
|
args: category
|
||||||
title:
|
title:
|
||||||
text: "{{ if .Result.title_torrent }}{{ .Result.title_torrent }}{{ else }}{{ .Result.title_text }}{{ end }}"
|
text: "{{ if .Result.title_torrent }}{{ .Result.title_torrent }}{{ else }}{{ .Result.title_text }}{{ end }}"
|
||||||
|
filters:
|
||||||
|
# #11775
|
||||||
|
- name: re_replace # Seasons X-Y --> S0X-S0Y
|
||||||
|
args: ["(?i)\\bSeasons?[-.\\s]*(\\d)[-.\\s]*(?:-|to)[-.\\s]*(\\d)\\b", "S0$1-S0$2"]
|
||||||
|
- name: re_replace # Seasons X-YY --> S0X-SYY
|
||||||
|
args: ["(?i)\\bSeasons?[-.\\s]*(\\d)[-.\\s]*(?:-|to)[-.\\s]*(\\d+)\\b", "S0$1-S$2"]
|
||||||
|
- name: re_replace # Seasons XX-YY --> SXX-SYY
|
||||||
|
args: ["(?i)\\bSeasons?[-.\\s]*(\\d+)[-.\\s]*(?:-|to)[-.\\s]*(\\d+)\\b", "S$1-S$2"]
|
||||||
|
- name: re_replace # Season X --> S0X
|
||||||
|
args: ["(?i)\\bSeasons?[-.\\s]*(\\d)\\b", "S0$1"]
|
||||||
|
- name: re_replace # Season XX --> SXX
|
||||||
|
args: ["(?i)\\bSeasons?[-.\\s]*(\\d+)\\b", "S$1"]
|
||||||
details:
|
details:
|
||||||
selector: td a[href^="index.php?page=torrent-details"]
|
selector: td a[href^="index.php?page=torrent-details"]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
|
|
@ -105,15 +105,15 @@ search:
|
||||||
selector: a[href^="/torrents.php?id="]
|
selector: a[href^="/torrents.php?id="]
|
||||||
filters:
|
filters:
|
||||||
- name: re_replace # Seasons X-Y --> S0X-S0Y
|
- name: re_replace # Seasons X-Y --> S0X-S0Y
|
||||||
args: ["(?i)seasons?\\s*(\\d)\\s*-\\s*(\\d)\\b", "S0$1-S0$2"]
|
args: ["(?i)\\bSeasons?\\s*(\\d)\\s*-\\s*(\\d)\\b", "S0$1-S0$2"]
|
||||||
- name: re_replace # Seasons X-YY --> S0X-SYY
|
- name: re_replace # Seasons X-YY --> S0X-SYY
|
||||||
args: ["(?i)seasons?\\s*(\\d)\\s*-\\s*(\\d+)\\b", "S0$1-S$2"]
|
args: ["(?i)\\bSeasons?\\s*(\\d)\\s*-\\s*(\\d+)\\b", "S0$1-S$2"]
|
||||||
- name: re_replace # Seasons XX-YY --> SXX-SYY
|
- name: re_replace # Seasons XX-YY --> SXX-SYY
|
||||||
args: ["(?i)seasons?\\s*(\\d+)\\s*-\\s*(\\d+)\\b", "S$1-S$2"]
|
args: ["(?i)\\bSeasons?\\s*(\\d+)\\s*-\\s*(\\d+)\\b", "S$1-S$2"]
|
||||||
- name: re_replace # Season X --> S0X
|
- name: re_replace # Season X --> S0X
|
||||||
args: ["(?i)season\\s*(\\d)\\b", "S0$1"]
|
args: ["(?i)\\bSeasons?\\s*(\\d)\\b", "S0$1"]
|
||||||
- name: re_replace # Season XX --> SXX
|
- name: re_replace # Season XX --> SXX
|
||||||
args: ["(?i)season\\s*(\\d+)\\b", "S$1"]
|
args: ["(?i)\\bSeasons?\\s*(\\d+)\\b", "S$1"]
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(?i)\\bComplete\\s+Series\\b", ""]
|
args: ["(?i)\\bComplete\\s+Series\\b", ""]
|
||||||
details:
|
details:
|
||||||
|
|
|
@ -95,15 +95,15 @@ search:
|
||||||
selector: a[href^="/torrents.php?id="]
|
selector: a[href^="/torrents.php?id="]
|
||||||
filters:
|
filters:
|
||||||
- name: re_replace # Seasons X-Y --> S0X-S0Y
|
- name: re_replace # Seasons X-Y --> S0X-S0Y
|
||||||
args: ["(?i)seasons?\\s*(\\d)\\s*-\\s*(\\d)\\b", "S0$1-S0$2"]
|
args: ["(?i)\\bSeasons?\\s*(\\d)\\s*-\\s*(\\d)\\b", "S0$1-S0$2"]
|
||||||
- name: re_replace # Seasons X-YY --> S0X-SYY
|
- name: re_replace # Seasons X-YY --> S0X-SYY
|
||||||
args: ["(?i)seasons?\\s*(\\d)\\s*-\\s*(\\d+)\\b", "S0$1-S$2"]
|
args: ["(?i)\\bSeasons?\\s*(\\d)\\s*-\\s*(\\d+)\\b", "S0$1-S$2"]
|
||||||
- name: re_replace # Seasons XX-YY --> SXX-SYY
|
- name: re_replace # Seasons XX-YY --> SXX-SYY
|
||||||
args: ["(?i)seasons?\\s*(\\d+)\\s*-\\s*(\\d+)\\b", "S$1-S$2"]
|
args: ["(?i)\\bSeasons?\\s*(\\d+)\\s*-\\s*(\\d+)\\b", "S$1-S$2"]
|
||||||
- name: re_replace # Season X --> S0X
|
- name: re_replace # Season X --> S0X
|
||||||
args: ["(?i)season\\s*(\\d)\\b", "S0$1"]
|
args: ["(?i)\\bSeasons?\\s*(\\d)\\b", "S0$1"]
|
||||||
- name: re_replace # Season XX --> SXX
|
- name: re_replace # Season XX --> SXX
|
||||||
args: ["(?i)season\\s*(\\d+)\\b", "S$1"]
|
args: ["(?i)\\bSeasons?\\s*(\\d+)\\b", "S$1"]
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(?i)\\bComplete\\s+Series\\b", ""]
|
args: ["(?i)\\bComplete\\s+Series\\b", ""]
|
||||||
details:
|
details:
|
||||||
|
|
Loading…
Reference in New Issue