mirror of https://github.com/Jackett/Jackett
sugoimusic: add genre query and results
This commit is contained in:
parent
5230394ebf
commit
7c102a1101
|
@ -25,8 +25,8 @@ caps:
|
|||
|
||||
modes:
|
||||
search: [q]
|
||||
tv-search: [q, season, ep]
|
||||
music-search: [q]
|
||||
tv-search: [q, season, ep, genre]
|
||||
music-search: [q, genre]
|
||||
|
||||
settings:
|
||||
- name: username
|
||||
|
@ -91,7 +91,9 @@ search:
|
|||
searchstr: "{{ .Keywords }}"
|
||||
# we can only grab the first release if group_results=1
|
||||
group_results: 0
|
||||
action: basic
|
||||
action: advanced
|
||||
# year: "{{ .Query.Year }}" # broken on site
|
||||
taglist: "{{ .Query.Genre }}"
|
||||
order_by: "{{ .Config.sort }}"
|
||||
order_way: "{{ .Config.type }}"
|
||||
# 0 normal, 1 freeleech, 2 neutral leech, 3 either
|
||||
|
@ -141,6 +143,10 @@ search:
|
|||
filters:
|
||||
- name: replace
|
||||
args: ["/static/common/noartwork/nocover.png", ""]
|
||||
genre:
|
||||
selector: div.tags
|
||||
description:
|
||||
text: "{{ .Result.genre }}"
|
||||
download:
|
||||
selector: span > a[href^="torrents.php?action=download&id="]
|
||||
attribute: href
|
||||
|
|
Loading…
Reference in New Issue