mirror of https://github.com/Jackett/Jackett
masters-tb: remove recommended results, add title when missing, add desc
This commit is contained in:
parent
6136236d5b
commit
25774a4d0e
|
@ -104,7 +104,7 @@ search:
|
||||||
type: "{{ .Config.type }}"
|
type: "{{ .Config.type }}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: "table[width=\"65%\"] > tbody > tr[onmouseover]{{ if .Config.freeleech }}:has(img[src=\"pic/freeleech.png\"]){{ else }}{{ end }}"
|
selector: "table[width=\"65%\"]:nth-child(3) > tbody > tr[onmouseover]{{ if .Config.freeleech }}:has(img[src=\"pic/freeleech.png\"]){{ else }}{{ end }}"
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
category:
|
category:
|
||||||
|
@ -113,8 +113,19 @@ search:
|
||||||
filters:
|
filters:
|
||||||
- name: querystring
|
- name: querystring
|
||||||
args: cat
|
args: cat
|
||||||
|
title_default:
|
||||||
|
selector: a[href^="download.php?id="]
|
||||||
|
attribute: href
|
||||||
|
filters:
|
||||||
|
- name: querystring
|
||||||
|
args: name
|
||||||
|
- name: regexp
|
||||||
|
args: ^(.+?)\.torrent
|
||||||
|
- name: htmldecode
|
||||||
title:
|
title:
|
||||||
selector: a[href^="details.php?id="]
|
selector: a[href^="details.php?id="]
|
||||||
|
optional: true
|
||||||
|
default: "{{ .Result.title_default }}"
|
||||||
details:
|
details:
|
||||||
selector: a[href^="details.php?id="]
|
selector: a[href^="details.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
@ -131,6 +142,8 @@ search:
|
||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: src=([^\s]+)
|
args: src=([^\s]+)
|
||||||
|
- name: replace
|
||||||
|
args: ["pic/not-available.jpg>');", ""]
|
||||||
files:
|
files:
|
||||||
selector: td:nth-last-child(8)
|
selector: td:nth-last-child(8)
|
||||||
date:
|
date:
|
||||||
|
@ -157,4 +170,7 @@ search:
|
||||||
text: 1
|
text: 1
|
||||||
minimumratio:
|
minimumratio:
|
||||||
text: 1.0
|
text: 1.0
|
||||||
|
description:
|
||||||
|
selector: td:has(a[href^="details.php?id="])
|
||||||
|
remove: a
|
||||||
# engine tbd
|
# engine tbd
|
||||||
|
|
Loading…
Reference in New Issue