From 7b5caa0de5c41806ed377918597c17d7a4d32204 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Tue, 13 Feb 2024 06:09:50 +1300 Subject: [PATCH] torrent911: new details selector --- src/Jackett.Common/Definitions/torrent911.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/Jackett.Common/Definitions/torrent911.yml b/src/Jackett.Common/Definitions/torrent911.yml index 1e0226e51..c385a02fc 100644 --- a/src/Jackett.Common/Definitions/torrent911.yml +++ b/src/Jackett.Common/Definitions/torrent911.yml @@ -102,7 +102,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/"]) filters: - name: andmatch @@ -131,10 +131,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: