mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
assorted French indexers: fix details and magnet. resolves #15610
This commit is contained in:
@@ -135,7 +135,7 @@ search:
|
||||
attribute: href
|
||||
filters:
|
||||
- name: regexp
|
||||
args: (/?torrent/\d+)
|
||||
args: (/?detail/\d+)
|
||||
download:
|
||||
text: "{{ .Result.details }}"
|
||||
size:
|
||||
|
@@ -136,14 +136,14 @@ search:
|
||||
optional: true
|
||||
filters:
|
||||
- name: regexp
|
||||
args: (/?torrent/\d+)
|
||||
args: (/?detail/\d+)
|
||||
details_onclick:
|
||||
selector: td:nth-child(1) a[onclick]
|
||||
attribute: onclick
|
||||
optional: true
|
||||
filters:
|
||||
- name: regexp
|
||||
args: (/?torrent/\d+)
|
||||
args: (/?detail/\d+)
|
||||
details:
|
||||
text: "{{ or .Result.details_href .Result.details_onclick }}"
|
||||
download:
|
||||
|
@@ -139,14 +139,14 @@ search:
|
||||
optional: true
|
||||
filters:
|
||||
- name: regexp
|
||||
args: (/?torrent/\d+)
|
||||
args: (/?detail/\d+)
|
||||
details_onclick:
|
||||
selector: td:nth-child(1) a[onclick]
|
||||
attribute: onclick
|
||||
optional: true
|
||||
filters:
|
||||
- name: regexp
|
||||
args: (/?torrent/\d+)
|
||||
args: (/?detail/\d+)
|
||||
details:
|
||||
text: "{{ or .Result.details_href .Result.details_onclick }}"
|
||||
download:
|
||||
|
@@ -92,8 +92,12 @@ settings:
|
||||
|
||||
download:
|
||||
selectors:
|
||||
- selector: a:has(i.fa-magnet)
|
||||
- selector: a[href^="magnet:?"]
|
||||
attribute: href
|
||||
- selector: script:contains("magnet:?")
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "\\s'(magnet:\\?.+?)';"
|
||||
|
||||
search:
|
||||
paths:
|
||||
|
Reference in New Issue
Block a user