From 6857d0ad243e8edf8d1e269d99c42569d20a2bd5 Mon Sep 17 00:00:00 2001 From: Mike Date: Sun, 28 May 2017 18:13:26 +0200 Subject: [PATCH] Add advanced search to TokyoTosho indexer. (#1420) * Add advanced search to TokyoTosho indexer. * Fix issue where it wouldn't filter on index.php. --- src/Jackett/Definitions/tokyotosho.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Jackett/Definitions/tokyotosho.yml b/src/Jackett/Definitions/tokyotosho.yml index 968283ffc..0935e7bd8 100644 --- a/src/Jackett/Definitions/tokyotosho.yml +++ b/src/Jackett/Definitions/tokyotosho.yml @@ -8,6 +8,11 @@ links: - https://www.tokyotosho.info/ + settings: + - name: type-id + type: text + label: Type Id + caps: categories: 1: TV/Anime # Anime @@ -32,6 +37,8 @@ path: "{{if .Query.Keywords }}search.php{{else}}index.php{{end}}" inputs: terms: "{{ .Query.Keywords }}" + type: "{{ .Config.type-id }}" + cat: "{{ .Config.type-id }}" rows: selector: "table.listing tr.category_0" after: 1