thesceneplace: edit field names

This commit is contained in:
ilike2burnthing 2023-01-03 20:18:07 +00:00 committed by GitHub
parent 279caca6af
commit 8ffe670b29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -110,7 +110,7 @@ search:
selector: "table.lista > tbody > tr:has(a[href^=\"index.php?page=torrent-details&id=\"]):has(td[width=\"30\"]){{ if .Config.freeleech }}:has(img[src=\"images/freeleech.gif\"]){{ else }}{{ end }}{{ if .Config.freeleech }}, table.lista > tbody > tr:has(a[href^=\"index.php?page=torrent-details&id=\"]):has(td[width=\"30\"]):has(img[src=\"images/gold.gif\"]){{ else }}{{ end }}"
fields:
_torrent_name:
title_torrent:
selector: a[href^="download.php?id="]
attribute: href
filters:
@ -122,9 +122,8 @@ search:
args: ["'", "'"]
- name: re_replace
args: ["(?i)\\.torrent$", ""]
_name:
title_text:
selector: a[href^="index.php?page=torrent-details&id="]
category:
selector: a[href^="index.php?page=torrents&category="]
attribute: href
@ -132,7 +131,7 @@ search:
- name: querystring
args: category
title:
text: "{{ if .Result._torrent_name }}{{ .Result._torrent_name }}{{ else }}{{ .Result._name }}{{ end }}"
text: "{{ if .Result.title_torrent }}{{ .Result.title_torrent }}{{ else }}{{ .Result.title_text }}{{ end }}"
poster:
selector: a[href^="index.php?page=torrent-details&id="]
attribute: onmouseover