1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-08 21:06:25 +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: inputs:
search: "{{ .Keywords }}" search: "{{ .Keywords }}"
go: Search go: Search
artistsearch: "{{ if .Query.Artist }}{{ .Query.Artist }}{{ else }}{{ end }}" artistsearch: "{{ .Query.Artist }}"
freesearch: "{{ if .Config.freeleech }}on{{ else }}{{ end }}" freesearch: "{{ if .Config.freeleech }}on{{ else }}{{ end }}"
results-order1: "{{ .Config.sort }}.{{ .Config.type }}" results-order1: "{{ .Config.sort }}.{{ .Config.type }}"
results-page: 1 results-page: 1
tagsearch: "{{ range .Categories }}{{.}},{{end}}" # can search by genre but need join support. &tagsearch=acid,+house for Acid and House
rows: rows:
selector: table.torrenttable > tbody > tr:has(a[href^="/torrent/download/"]) selector: table.torrenttable > tbody > tr:has(a[href^="/torrent/download/"])
@ -107,7 +107,7 @@ search:
artist: artist:
selector: span.artist selector: span.artist
optional: true optional: true
_tag: genre:
selector: span.tag selector: span.tag
optional: true optional: true
_codec: _codec:
@ -117,7 +117,7 @@ search:
selector: td:nth-child(7) selector: td:nth-child(7)
optional: true optional: true
description: 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: grabs:
selector: td:nth-child(8) selector: td:nth-child(8)
seeders: seeders: