diff --git a/src/Jackett.Common/Definitions/yggcookie.yml b/src/Jackett.Common/Definitions/yggcookie.yml index d7ddb06d0..e04ca1270 100644 --- a/src/Jackett.Common/Definitions/yggcookie.yml +++ b/src/Jackett.Common/Definitions/yggcookie.yml @@ -209,6 +209,9 @@ search: - name: replace args: [" ", " "] - name: trim + # put each word in quotations to prevent exact phrase search + - name: re_replace + args: ["(\\w+)", "\"$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 diff --git a/src/Jackett.Common/Definitions/yggtorrent.yml b/src/Jackett.Common/Definitions/yggtorrent.yml index 929497a95..b43e9f2f8 100644 --- a/src/Jackett.Common/Definitions/yggtorrent.yml +++ b/src/Jackett.Common/Definitions/yggtorrent.yml @@ -217,6 +217,9 @@ search: - name: replace args: [" ", " "] - name: trim + # put each word in quotations to prevent exact phrase search + - name: re_replace + args: ["(\\w+)", "\"$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