1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-06 19:58:38 +00:00

themixingbowl: tidy artist search, treat tags as genres

This commit is contained in:
ilike2burnthing 2023-12-01 05:17:08 +00:00 committed by GitHub
parent ca0630f9c8
commit 33db67d56c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -79,11 +79,11 @@ search:
inputs:
search: "{{ .Keywords }}"
go: Search
artistsearch: "{{ if .Query.Artist }}{{ .Query.Artist }}{{ else }}{{ end }}"
artistsearch: "{{ .Query.Artist }}"
freesearch: "{{ if .Config.freeleech }}on{{ else }}{{ end }}"
results-order1: "{{ .Config.sort }}.{{ .Config.type }}"
results-page: 1
tagsearch: "{{ range .Categories }}{{.}},{{end}}"
# can search by genre but need join support. &tagsearch=acid,+house for Acid and House
rows:
selector: table.torrenttable > tbody > tr:has(a[href^="/torrent/download/"])
@ -107,7 +107,7 @@ search:
artist:
selector: span.artist
optional: true
_tag:
genre:
selector: span.tag
optional: true
_codec:
@ -117,7 +117,7 @@ search:
selector: td:nth-child(7)
optional: true
description:
text: "Artist=[{{ .Result.artist }}] , Tags={{ .Result._tag }} , Codec=[{{ .Result._codec }}] , BitRate=[{{ .Result._bit }}]"
text: "Artist=[{{ .Result.artist }}] , Tags={{ .Result.genre }} , Codec=[{{ .Result._codec }}] , BitRate=[{{ .Result._bit }}]"
grabs:
selector: td:nth-child(8)
seeders: