From 98a5ef3124c71fc8c75119458cd1b6cc93d034b1 Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Mon, 18 May 2020 21:56:45 +0100 Subject: [PATCH] topnow: fix empty search (#8701) --- src/Jackett.Common/Definitions/topnow.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Jackett.Common/Definitions/topnow.yml b/src/Jackett.Common/Definitions/topnow.yml index 01af5e228..a351d51a2 100644 --- a/src/Jackett.Common/Definitions/topnow.yml +++ b/src/Jackett.Common/Definitions/topnow.yml @@ -24,9 +24,7 @@ settings: [] search: paths: # https://topnow.se/index.php?search= - - path: index.php - inputs: - search: "{{ .Keywords }}" + - path: "index.php{{if .Keywords}}?search={{ .Keywords }}{{else}}{{end}}" keywordsfilters: # the site uses % for wildcard - name: re_replace