mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
torrent9clone: new details processing
This commit is contained in:
@@ -127,12 +127,22 @@ search:
|
|||||||
args: ["(?i)\\b(MULTI(?!.*(?:FRENCH|ENGLISH|VOSTFR)))\\b", "{{ .Config.multilanguage }}"]
|
args: ["(?i)\\b(MULTI(?!.*(?:FRENCH|ENGLISH|VOSTFR)))\\b", "{{ .Config.multilanguage }}"]
|
||||||
title:
|
title:
|
||||||
text: "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
|
text: "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
|
||||||
details:
|
details_href:
|
||||||
selector: td:nth-child(1) a
|
selector: td:nth-child(1) a[href]
|
||||||
attribute: onclick
|
attribute: href
|
||||||
|
optional: true
|
||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: (/?torrent/\d+)
|
args: (/?torrent/\d+)
|
||||||
|
details_onclick:
|
||||||
|
selector: td:nth-child(1) a[onclick]
|
||||||
|
attribute: onclick
|
||||||
|
optional: true
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: (/?torrent/\d+)
|
||||||
|
details:
|
||||||
|
text: "{{ or .Result.details_href .Result.details_onclick }}"
|
||||||
download:
|
download:
|
||||||
text: "{{ .Result.details }}"
|
text: "{{ .Result.details }}"
|
||||||
date:
|
date:
|
||||||
|
Reference in New Issue
Block a user