From 8ffe670b29bbe1eee529faa8806b5a35759c04e1 Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Tue, 3 Jan 2023 20:18:07 +0000 Subject: [PATCH] thesceneplace: edit field names --- src/Jackett.Common/Definitions/thesceneplace.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Jackett.Common/Definitions/thesceneplace.yml b/src/Jackett.Common/Definitions/thesceneplace.yml index dd03736bd..3dd06b2fc 100644 --- a/src/Jackett.Common/Definitions/thesceneplace.yml +++ b/src/Jackett.Common/Definitions/thesceneplace.yml @@ -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