exttorrents: remove download block (#15454)

* exttorrents: remove download block

* Apply suggestions from code review

Co-authored-by: garfield69 <garfield69@outlook.com>

---------

Co-authored-by: garfield69 <garfield69@outlook.com>
This commit is contained in:
Bogdan
2024-07-01 07:26:08 +03:00
committed by GitHub
parent d9562d57de
commit e1e5685bfa

View File

@@ -99,11 +99,6 @@ settings:
- name: info_flaresolverr
type: info_flaresolverr
download:
selectors:
- selector: a[href^="magnet:?xt="]
attribute: href
search:
paths:
- path: "{{ if .Keywords }}search/{{ .Keywords }}/?order={{ .Config.sort }}&sort={{ .Config.type }}{{ else }}latest/{{ end }}"
@@ -131,9 +126,12 @@ search:
details:
selector: td:nth-child(1) div a
attribute: href
download:
selector: td:nth-child(1) div a
infohash:
selector: a[href^="magnet:?xt="]
attribute: href
filters:
- name: regexp
args: ([A-F|a-f|0-9]{40})
size:
selector: td:nth-child(2)
files: