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:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep, genre]
|
||||||
music-search: [q]
|
music-search: [q, genre]
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
- name: username
|
- name: username
|
||||||
|
@ -91,7 +91,9 @@ search:
|
||||||
searchstr: "{{ .Keywords }}"
|
searchstr: "{{ .Keywords }}"
|
||||||
# we can only grab the first release if group_results=1
|
# we can only grab the first release if group_results=1
|
||||||
group_results: 0
|
group_results: 0
|
||||||
action: basic
|
action: advanced
|
||||||
|
# year: "{{ .Query.Year }}" # broken on site
|
||||||
|
taglist: "{{ .Query.Genre }}"
|
||||||
order_by: "{{ .Config.sort }}"
|
order_by: "{{ .Config.sort }}"
|
||||||
order_way: "{{ .Config.type }}"
|
order_way: "{{ .Config.type }}"
|
||||||
# 0 normal, 1 freeleech, 2 neutral leech, 3 either
|
# 0 normal, 1 freeleech, 2 neutral leech, 3 either
|
||||||
|
@ -141,6 +143,10 @@ search:
|
||||||
filters:
|
filters:
|
||||||
- name: replace
|
- name: replace
|
||||||
args: ["/static/common/noartwork/nocover.png", ""]
|
args: ["/static/common/noartwork/nocover.png", ""]
|
||||||
|
genre:
|
||||||
|
selector: div.tags
|
||||||
|
description:
|
||||||
|
text: "{{ .Result.genre }}"
|
||||||
download:
|
download:
|
||||||
selector: span > a[href^="torrents.php?action=download&id="]
|
selector: span > a[href^="torrents.php?action=download&id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
|
Loading…
Reference in New Issue