mirror of https://github.com/Jackett/Jackett
yggtorrent, yggcookie: fix exact match search (#13466)
This commit is contained in:
parent
3a36ef4b24
commit
37390b8572
|
@ -224,7 +224,7 @@ search:
|
|||
- name: trim
|
||||
# put each word in quotations to prevent exact phrase search
|
||||
- name: re_replace
|
||||
args: ["(\\w+)", "\"$1\""]
|
||||
args: ["([^\\s]+)", "\"$1\""]
|
||||
paths:
|
||||
- path: "engine/search?category={{ .Config.category }}&name={{ .Keywords }}&description=&file=&uploader=&sub_category=&do=search&order={{ .Config.type }}&sort={{ .Config.sort }}"
|
||||
followredirect: true
|
||||
|
|
|
@ -234,7 +234,7 @@ search:
|
|||
- name: trim
|
||||
# put each word in quotations to prevent exact phrase search
|
||||
- name: re_replace
|
||||
args: ["(\\w+)", "\"$1\""]
|
||||
args: ["([^\\s]+)", "\"$1\""]
|
||||
paths:
|
||||
- path: "engine/search?category={{ .Config.category }}&name={{ .Keywords }}&description=&file=&uploader=&sub_category=&do=search&order={{ .Config.type }}&sort={{ .Config.sort }}"
|
||||
followredirect: true
|
||||
|
|
Loading…
Reference in New Issue