mirror of
https://github.com/Jackett/Jackett
synced 2025-01-02 13:16:16 +00:00
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
1 changed files with 7 additions and 1 deletions
|
@ -211,8 +211,14 @@
|
|||
|
||||
search:
|
||||
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:
|
||||
busca: "{{ .Query.Keywords }}"
|
||||
busca: "{{ .Keywords }}"
|
||||
rows:
|
||||
selector: table#tbltorrent > tbody > tr[data-id]
|
||||
fields:
|
||||
|
|
Loading…
Reference in a new issue