Add advanced search to TokyoTosho indexer. (#1420)

* Add advanced search to TokyoTosho indexer.

* Fix issue where it wouldn't filter on index.php.
This commit is contained in:
Mike 2017-05-28 18:13:26 +02:00 committed by kaso17
parent 2cfef12289
commit 6857d0ad24
1 changed files with 7 additions and 0 deletions

View File

@ -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