diff --git a/src/Jackett.Common/Definitions/thesceneplace.yml b/src/Jackett.Common/Definitions/thesceneplace.yml index 04ecc1e2b..2cf53d3e8 100644 --- a/src/Jackett.Common/Definitions/thesceneplace.yml +++ b/src/Jackett.Common/Definitions/thesceneplace.yml @@ -110,6 +110,19 @@ 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: + selector: a[href^="download.php?id="] + attribute: href + filters: + - name: querystring + args: f + - name: replace + args: ["&", "&"] + - name: re_replace + args: ["(?i)\\.torrent$", ""] + _name: + selector: a[href^="index.php?page=torrent-details&id="] + category: selector: a[href^="index.php?page=torrents&category="] attribute: href @@ -117,7 +130,7 @@ search: - name: querystring args: category title: - selector: a[href^="index.php?page=torrent-details&id="] + text: "{{ if .Result._torrent_name }}{{ .Result._torrent_name }}{{ else }}{{ .Result._name }}{{ end }}" poster: selector: a[href^="index.php?page=torrent-details&id="] attribute: onmouseover