mirror of https://github.com/Jackett/Jackett
Manicomio Share: improve search results (#1670)
* Fixes episode search in Manicomio Share The tracker uses the pattern "name - s??e??" instead of "name s??e??" so we have to manually add a "-" in the query * Better fix Updated to a better fix! * Fixed the input name * Added a workaround to solve the year issue * Fixed the re_replace order
This commit is contained in:
parent
333f7297fa
commit
f503f0543e
|
@ -211,8 +211,14 @@
|
||||||
|
|
||||||
search:
|
search:
|
||||||
path: pesquisa.php
|
path: pesquisa.php
|
||||||
|
keywordsfilters:
|
||||||
|
# workaroud to remove year in search keywords
|
||||||
|
- name: re_replace
|
||||||
|
args: ["([1-2]\\d{3})", ""]
|
||||||
|
- name: re_replace
|
||||||
|
args: ["[^a-zA-Z0-9]+", "%"]
|
||||||
inputs:
|
inputs:
|
||||||
busca: "{{ .Query.Keywords }}"
|
busca: "{{ .Keywords }}"
|
||||||
rows:
|
rows:
|
||||||
selector: table#tbltorrent > tbody > tr[data-id]
|
selector: table#tbltorrent > tbody > tr[data-id]
|
||||||
fields:
|
fields:
|
||||||
|
|
Loading…
Reference in New Issue