mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
sktorrent: add genre query and results
This commit is contained in:
@@ -47,8 +47,8 @@ caps:
|
|||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep, genre]
|
||||||
movie-search: [q]
|
movie-search: [q, genre]
|
||||||
music-search: [q]
|
music-search: [q]
|
||||||
book-search: [q]
|
book-search: [q]
|
||||||
|
|
||||||
@@ -78,6 +78,7 @@ search:
|
|||||||
category: "{{ range .Categories }}{{.}};{{end}}"
|
category: "{{ range .Categories }}{{.}};{{end}}"
|
||||||
# 0 all, 1 activeonly, 2 deadonly
|
# 0 all, 1 activeonly, 2 deadonly
|
||||||
active: 0
|
active: 0
|
||||||
|
zaner: "{{ .Query.Genre }}"
|
||||||
keywordsfilters:
|
keywordsfilters:
|
||||||
- name: diacritics
|
- name: diacritics
|
||||||
args: replace
|
args: replace
|
||||||
@@ -219,6 +220,17 @@ search:
|
|||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: "Stahuju : (\\d+)"
|
args: "Stahuju : (\\d+)"
|
||||||
|
genre:
|
||||||
|
selector: div > div
|
||||||
|
filters:
|
||||||
|
- name: replace
|
||||||
|
args: ["\n", ""]
|
||||||
|
- name: replace
|
||||||
|
args: ["\x09", " "]
|
||||||
|
- name: validate
|
||||||
|
args: "Akcni, Animovany, Dobrodruzny, Dokumentarny, Drama, Eroticky, Experimentalni, Fantasy, Historicky, Horor, Hudebni, Katastroficky, Komedie, Kratkometrazni, Krimi, Loutkovy, Muzikal, Mysteriozni, Pohadka, Povidkovy, Psychologicky, Publicisticky, Reality-TV, Road-Movie, Rodinny, Romanticky, Sci-Fi, Soutezni, Sportovni, Talk-show, Telenovela, Thriller, Valecny, Western, Zivotopisny"
|
||||||
|
description:
|
||||||
|
text: "{{ .Result.genre }}"
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
text: 1
|
text: 1
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
|
Reference in New Issue
Block a user