From bfb76df312dee9c220a7ec1c214d341a5bf11d9c Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Wed, 8 Dec 2021 21:01:43 +0000 Subject: [PATCH] torrentmax: change search paths. resolves #12669 --- src/Jackett.Common/Definitions/torrentmax.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/Jackett.Common/Definitions/torrentmax.yml b/src/Jackett.Common/Definitions/torrentmax.yml index 161354a49..693880955 100644 --- a/src/Jackett.Common/Definitions/torrentmax.yml +++ b/src/Jackett.Common/Definitions/torrentmax.yml @@ -58,15 +58,8 @@ download: search: paths: # https://torrentmax2.net/search?srows=10&gr_id=&sfl=wr_subject%7C%7Cwr_content&stx=2021&sop=and - - path: search - inputs: - srows: 100 - gr_id: "" - # wr_subject||wr_content, wr_subject, wr_content, mb_id, wr_name - sfl: wr_subject - stx: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}" - # or, and - sop: and + - path: "search?srows=50&sfl=wr_subject&sop=and&gr_id={{ if .Keywords }}&stx={{ .Keywords }}{{ else }}tv&stx={{ .Today.Year }}{{ end }}" + - path: "search?srows=50&sfl=wr_subject&sop=and&gr_id={{ if .Keywords }}&stx={{ .Keywords }}&page=2{{ else }}movie&stx={{ .Today.Year }}{{ end }}" rows: selector: div.search-media div.media:not(:has(a[href*="/max/PHOTO/"])):not(:has(a[href*="/max/GIRL/"])):not(:has(a[href*="/max/CAM/"])):not(:has(a[href*="/max/notice/"])):not(:has(a[href*="/max/humor/"]))