diff --git a/src/Jackett.Common/Definitions/thevault.yml b/src/Jackett.Common/Definitions/thevault.yml index b23ee9310..8cf706b60 100644 --- a/src/Jackett.Common/Definitions/thevault.yml +++ b/src/Jackett.Common/Definitions/thevault.yml @@ -79,16 +79,13 @@ - selector: table:contains("Login failed!") test: path: main.php - - download: - selector: a[href^="download.php"] search: paths: - path: browse.php inputs: $raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}" - search: "{{ .Query.Keywords }}" + search: "{{ .Keywords }}" rows: selector: table[border="0"] > tbody > tr.ttable:has(a[href^="browse.php?cat="]) fields: @@ -102,11 +99,8 @@ filters: selector: td:nth-child(2) b download: - selector: a[href^="details.php?id="] + selector: a[href^="download.php/"] attribute: href - filters: - - name: replace - args: ["details.php?id=", "download.php?id="] details: selector: a[href^="details.php?id="] attribute: href @@ -114,7 +108,7 @@ selector: td:nth-child(8) filters: - name: regexp - args: ([\d,]+) + args: (\d+) files: selector: td:nth-child(4) size: