From 86964e1cc6294358fca6f215df8ee89e9fc566b2 Mon Sep 17 00:00:00 2001 From: xfouloux Date: Tue, 16 Oct 2018 12:54:22 +1100 Subject: [PATCH] Update rockbox.yml (#4010) Need to fix the row selector by indicating the right table and the tr:has else there is still a lot of errors with the HTML because it selects the header of the table too. It was working still, but better like that. I'm not having any html parse errors now. --- src/Jackett.Common/Definitions/rockbox.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Jackett.Common/Definitions/rockbox.yml b/src/Jackett.Common/Definitions/rockbox.yml index 16d8015cd..d958055d7 100644 --- a/src/Jackett.Common/Definitions/rockbox.yml +++ b/src/Jackett.Common/Definitions/rockbox.yml @@ -38,7 +38,7 @@ inputs: search: "{{if .Query.Artist}}{{ .Query.Artist }}{{else}}{{ .Keywords }}{{end}}" rows: - selector: tr:has(a[href^="download.php?id="]) + selector: body:nth-child(2) tbody tr td:nth-child(2) table.lista tbody tr:nth-child(2) table.lista tbody tr:has(a[href^="download.php?id="]) fields: title: selector: td a[href^="details.php?id="]