kinozal: add freeleech search #9456

refresh cats
add date TZ
add MR
add book-search
This commit is contained in:
Garfield69
2020-10-05 20:23:16 +13:00
parent 8b8b89d516
commit cca9ef0c25

View File

@@ -50,19 +50,20 @@ caps:
- {id: 5, cat: Audio, desc: "Music - Collections"}
- {id: 42, cat: Audio, desc: "Music - Classical"}
# Other
- {id: 1006, cat: Other, desc: "Shows, Concerts, Sports"}
- {id: 2, cat: Other, desc: "Other - AudioBooks"}
- {id: 1, cat: Other, desc: "Other - Music Video's"}
- {id: 23, cat: Other, desc: "Other - Games"}
- {id: 32, cat: Other, desc: "Other - Programs"}
- {id: 1006, cat: TV/Other, desc: "Shows, Concerts, Sports"}
- {id: 2, cat: Audio/Audiobook, desc: "Other - AudioBooks"}
- {id: 1, cat: Audio/Video, desc: "Other - Music Video's"}
- {id: 23, cat: Console, desc: "Other - Games"}
- {id: 32, cat: PC, desc: "Other - Programs"}
- {id: 40, cat: Other, desc: "Other - Design / Graphics"}
- {id: 41, cat: Other, desc: "Other - Library"}
- {id: 41, cat: Books, desc: "Other - Library"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
music-search: [q]
book-search: [q]
settings:
- name: username
@@ -71,6 +72,10 @@ settings:
- name: password
type: password
label: Password
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
- name: striprussian
type: checkbox
label: Strip Russian Letters
@@ -119,14 +124,14 @@ search:
# multi cat is not supported. so defaulting to ALL
c: 0
s: "{{ .Keywords }}"
# where 0 the title 1 person 2 genres 3 regular expression
# where 0 title, 1 person, 2 genres, 3 regular expression
g: 0
# format 0 all
v: 0
# released 0 all
d: 0
# filter 0 all
w: 0
# filter 0 all, 1 today, 2 yesterday, 3 in 3 days, 4 this week, 5 per month, 6-10 size rages, 11 gold, 12 silver
w: "{{ if .Config.freeleech }}11{{ else }}0{{ end }}"
t: "{{ .Config.sort }}"
f: "{{ .Config.type }}"
@@ -213,8 +218,10 @@ search:
filters:
- name: replace
args: [" в", ""]
- name: append
args: " +00:00" # auto adjusted by site account profile
- name: dateparse
args: "02.01.2006 15:04"
args: "02.01.2006 15:04 -07:00"
downloadvolumefactor:
case:
a.r1: 0 # gold
@@ -222,4 +229,6 @@ search:
"*": 1
uploadvolumefactor:
text: 1
minimumratio:
text: 1.0
# engine n/a