From 6a25e73536f80164105b6a7870367f2ed825adc3 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sun, 22 Sep 2019 08:16:14 +1200 Subject: [PATCH] xtremezone: new category selector. #5966 --- src/Jackett.Common/Definitions/xtremezone.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/Jackett.Common/Definitions/xtremezone.yml b/src/Jackett.Common/Definitions/xtremezone.yml index 2d84aaa12..3c7a6928f 100644 --- a/src/Jackett.Common/Definitions/xtremezone.yml +++ b/src/Jackett.Common/Definitions/xtremezone.yml @@ -52,6 +52,7 @@ modes: search: [q] tv-search: [q, season, ep] + movie-search: [q] login: path: login @@ -74,8 +75,8 @@ paths: - path: browse inputs: - $raw: "{{range .Categories}}&categories[]={{.}}{{end}}" - search: "{{ .Query.Keywords }}" + $raw: "{{range .Categories}}categories[]={{.}}&{{end}}" + search: "{{ .Keywords }}" rows: selector: div[class="kt-container kt-grid__item"] > div:not(#top10-wrapper) div[class^="row mr-0"] fields: @@ -85,11 +86,11 @@ selector: a[href^="/browse/"] attribute: href category: - selector: a[href] > img - attribute: class + selector: a[href^="/browse?categories"] + attribute: href filters: - name: regexp - args: ([\d\.]+) + args: (\d+)$ download: selector: a[href^="/dwn.php"] attribute: href @@ -119,6 +120,7 @@ banner: selector: a[onmouseover][href^="details.php?id="] attribute: onmouseover + optional: true filters: - name: regexp args: src=([^\s]+)