mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
thesceneplace: edit field names
This commit is contained in:
@@ -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 }}"
|
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:
|
fields:
|
||||||
_torrent_name:
|
title_torrent:
|
||||||
selector: a[href^="download.php?id="]
|
selector: a[href^="download.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
filters:
|
filters:
|
||||||
@@ -122,9 +122,8 @@ search:
|
|||||||
args: ["'", "'"]
|
args: ["'", "'"]
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(?i)\\.torrent$", ""]
|
args: ["(?i)\\.torrent$", ""]
|
||||||
_name:
|
title_text:
|
||||||
selector: a[href^="index.php?page=torrent-details&id="]
|
selector: a[href^="index.php?page=torrent-details&id="]
|
||||||
|
|
||||||
category:
|
category:
|
||||||
selector: a[href^="index.php?page=torrents&category="]
|
selector: a[href^="index.php?page=torrents&category="]
|
||||||
attribute: href
|
attribute: href
|
||||||
@@ -132,7 +131,7 @@ search:
|
|||||||
- name: querystring
|
- name: querystring
|
||||||
args: category
|
args: category
|
||||||
title:
|
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:
|
poster:
|
||||||
selector: a[href^="index.php?page=torrent-details&id="]
|
selector: a[href^="index.php?page=torrent-details&id="]
|
||||||
attribute: onmouseover
|
attribute: onmouseover
|
||||||
|
Reference in New Issue
Block a user