sugoimusic: fix results with no artist

This commit is contained in:
ilike2burnthing 2021-02-01 07:30:11 +00:00 committed by GitHub
parent c3628eb750
commit 8fc28de1ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -119,6 +119,10 @@ search:
"div[title=\"Misc\"]": 12
_title_artist:
selector: div.torrent_artists > a
optional: true
filters:
- name: append
args: " - "
_title_name:
selector: a.torrent_name
_title_date:
@ -127,7 +131,7 @@ search:
- name: regexp
args: "(\\[.+?\\])"
title:
text: "{{ .Result._title_artist }} - {{ .Result._title_name }} {{ .Result._title_date }}"
text: "{{ .Result._title_artist }}{{ .Result._title_name }} {{ .Result._title_date }}"
details:
selector: a.torrent_name[href^="torrents.php?id="]
attribute: href