mirror of https://github.com/Jackett/Jackett
Il Corsaro Nero: improve parsing (#2792)
Little modify to better recognize full seasons Little modify to clear results
This commit is contained in:
parent
257295ed08
commit
21f8fa966d
|
@ -64,12 +64,12 @@
|
||||||
- name: split
|
- name: split
|
||||||
args: [ "/", -1 ]
|
args: [ "/", -1 ]
|
||||||
- name: urldecode
|
- name: urldecode
|
||||||
- name: replace
|
- name: re_replace
|
||||||
args: [ "_", " "]
|
args: [ "_+", " "]
|
||||||
- name: replace
|
|
||||||
args: [ " ", " "]
|
|
||||||
- name: replace
|
- name: replace
|
||||||
args: [ ".", " "]
|
args: [ ".", " "]
|
||||||
|
- name: re_replace
|
||||||
|
args: [ "\\s{2,}", " "]
|
||||||
# normalize to SXXEYY format
|
# normalize to SXXEYY format
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(\\d{2})x(\\d{2})", "S$1E$2"]
|
args: ["(\\d{2})x(\\d{2})", "S$1E$2"]
|
||||||
|
@ -88,6 +88,8 @@
|
||||||
- name: re_replace #remove various
|
- name: re_replace #remove various
|
||||||
args: ["(Serie completa|Completa|\\[in pausa\\])", ""]
|
args: ["(Serie completa|Completa|\\[in pausa\\])", ""]
|
||||||
# fine prova
|
# fine prova
|
||||||
|
- name: re_replace #try to find multi episode
|
||||||
|
args: ["(S\\d{2}E\\d{2})\\s(\\d{2})", "$1-$2"]
|
||||||
category:
|
category:
|
||||||
selector: td:nth-child(1) a
|
selector: td:nth-child(1) a
|
||||||
attribute: href
|
attribute: href
|
||||||
|
|
Loading…
Reference in New Issue