nyaa.si: Restore filter config (#8275)

This commit is contained in:
Fugi 2020-04-19 20:31:26 -07:00 committed by GitHub
parent 341c026c8f
commit b76dcbfb82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions

View File

@ -15,6 +15,14 @@
- https://nyaa.ind-unblock.xyz/ - https://nyaa.ind-unblock.xyz/
settings: settings:
- name: filter-id
type: select
label: Filter
default: "0"
options:
0: No filter
1: No remakes
2: Trusted only
- name: cat-id - name: cat-id
type: select type: select
label: Category label: Category
@ -106,7 +114,7 @@
- path: / - path: /
inputs: inputs:
q: "{{ .Keywords }}" q: "{{ .Keywords }}"
f: 0 f: "{{ .Config.filter-id }}"
c: "{{ .Config.cat-id }}" c: "{{ .Config.cat-id }}"
s: "{{ .Config.sort }}" s: "{{ .Config.sort }}"
o: "{{ .Config.type }}" o: "{{ .Config.type }}"