1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-01 20:55:48 +00:00

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

View file

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