From e1e5685bfa3b7f939b1db60e9fefb05ae6680d27 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Mon, 1 Jul 2024 07:26:08 +0300 Subject: [PATCH] exttorrents: remove download block (#15454) * exttorrents: remove download block * Apply suggestions from code review Co-authored-by: garfield69 --------- Co-authored-by: garfield69 --- src/Jackett.Common/Definitions/exttorrents.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/Jackett.Common/Definitions/exttorrents.yml b/src/Jackett.Common/Definitions/exttorrents.yml index 4807aa93f..bcd3da7bf 100644 --- a/src/Jackett.Common/Definitions/exttorrents.yml +++ b/src/Jackett.Common/Definitions/exttorrents.yml @@ -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: