mirror of https://github.com/Jackett/Jackett
gktorrent: new magnet selector
This commit is contained in:
parent
63a06841cf
commit
092b862505
|
@ -81,6 +81,7 @@ download:
|
|||
filters:
|
||||
- name: regexp
|
||||
args: "\\s'(magnet:\\?.+?)';"
|
||||
|
||||
search:
|
||||
paths:
|
||||
- path: "{{ if .Keywords }}recherche/{{ .Keywords }}{{ else }}{{ end }}"
|
||||
|
@ -92,7 +93,7 @@ search:
|
|||
args: ["(?i)(S)(\\d{1,3})$", "saison $2"]
|
||||
|
||||
rows:
|
||||
selector: table.table-hover > tbody > tr:has(a[href*=torrent])
|
||||
selector: table.table-hover > tbody > tr:has(a[onclick*="torrent/"])
|
||||
|
||||
fields:
|
||||
category:
|
||||
|
@ -119,10 +120,12 @@ search:
|
|||
text: "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
|
||||
details:
|
||||
selector: td:nth-child(1) a
|
||||
attribute: href
|
||||
attribute: onclick
|
||||
filters:
|
||||
- name: regexp
|
||||
args: (torrent/\d+)
|
||||
download:
|
||||
selector: td:nth-child(1) a
|
||||
attribute: href
|
||||
text: "{{ .Result.details }}"
|
||||
size:
|
||||
selector: td:nth-child(2)
|
||||
date:
|
||||
|
|
Loading…
Reference in New Issue