From c9c91e36039f6fb6deae21f65dc0cab2aececbc8 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Tue, 3 Sep 2019 06:33:06 +1200 Subject: [PATCH] theplace: update download link --- src/Jackett.Common/Definitions/theplace.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/Jackett.Common/Definitions/theplace.yml b/src/Jackett.Common/Definitions/theplace.yml index b3d56d703..b84835aad 100644 --- a/src/Jackett.Common/Definitions/theplace.yml +++ b/src/Jackett.Common/Definitions/theplace.yml @@ -63,16 +63,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="]) filters: @@ -88,11 +85,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 @@ -100,7 +94,7 @@ selector: td:nth-child(8) filters: - name: regexp - args: ([\d,]+) + args: (\d+) files: selector: td:nth-child(4) size: