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