From efedd3c25bf5eab04ea13056c10fc372c2294c92 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Fri, 2 Oct 2020 20:04:09 +1300 Subject: [PATCH] dxp: update search engine add tv-search, movie-search and book-search add category search add include dead add date TZ add MR --- src/Jackett.Common/Definitions/dxp.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/Jackett.Common/Definitions/dxp.yml b/src/Jackett.Common/Definitions/dxp.yml index 9acd397fa..4041ce93b 100644 --- a/src/Jackett.Common/Definitions/dxp.yml +++ b/src/Jackett.Common/Definitions/dxp.yml @@ -40,7 +40,10 @@ caps: modes: search: [q] + tv-search: [q, season, ep] + movie-search: [q] music-search: [q] + book-search: [q] settings: - name: username @@ -85,10 +88,13 @@ download: search: # https://dxp.ru/torrents.php?search=&sort=4&type=desc + # https://dxp.ru/torrents.php?search=&cat=0&incldead=1 paths: - path: torrents.php inputs: + $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" search: "{{ .Keywords }}" + incldead: 1 sort: "{{ .Config.sort }}" type: "{{ .Config.type }}" @@ -114,8 +120,10 @@ search: date: selector: i filters: + - name: append + args: " +03:00" # MSK - name: dateparse - args: "2006-01-02 15:04:05" + args: "2006-01-02 15:04:05 -07:00" files: selector: td:nth-child(4) size: @@ -137,4 +145,6 @@ search: "*": 0 uploadvolumefactor: text: 1 + minimumratio: + text: 0.3 # engine n/a