From 736330bea3a6e0f32e6a2491c3f872f0e3129d43 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sun, 7 Oct 2018 07:09:55 +1300 Subject: [PATCH] torrentcouch: new domain. resolves #3924 --- src/Jackett.Common/Definitions/torrentcouch.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/Jackett.Common/Definitions/torrentcouch.yml b/src/Jackett.Common/Definitions/torrentcouch.yml index 115c35a6a..c76a73983 100644 --- a/src/Jackett.Common/Definitions/torrentcouch.yml +++ b/src/Jackett.Common/Definitions/torrentcouch.yml @@ -6,6 +6,8 @@ type: public encoding: UTF-8 links: + - https://torrentcouch.net/ + legacylinks: - https://torrentcouch.com/ caps: @@ -23,10 +25,12 @@ search: # https://torrentcouch.com/?s=expanse + # https://torrentcouch.net/page/3/?s=expanse paths: - - path: / - inputs: - s: "{{.Keywords}}" + - path: "{{if .Keywords}}/?s={{ .Keywords}}{{else}}/{{end}}" + - path: "{{if .Keywords}}/page/2/?s={{ .Keywords}}{{else}}{{end}}" + - path: "{{if .Keywords}}/page/3/?s={{ .Keywords}}{{else}}{{end}}" + - path: "{{if .Keywords}}/page/4/?s={{ .Keywords}}{{else}}{{end}}" rows: selector: article fields: