From 004d0d7014f34e6eb2b3893105012dfa39418c15 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sat, 14 Dec 2019 10:00:53 +1300 Subject: [PATCH] shokweb: add andmatch filter. resolves #6600 --- src/Jackett.Common/Definitions/shokweb.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/Jackett.Common/Definitions/shokweb.yml b/src/Jackett.Common/Definitions/shokweb.yml index 517151a7f..132cf069f 100644 --- a/src/Jackett.Common/Definitions/shokweb.yml +++ b/src/Jackett.Common/Definitions/shokweb.yml @@ -30,8 +30,12 @@ # https://shokweb.com/ (latest) # https://shokweb.com/search/supergirl%20s04e01 (search) - path: "{{if .Keywords}}/search/{{.Keywords}}{{else}}{{end}}" + rows: selector: div:has(a[href^="magnet:?"]) + filters: + - name: andmatch + fields: title: selector: a[href^="/post/"] @@ -63,10 +67,10 @@ - name: replace args: ["前", " ago"] seeders: - text: "1" + text: 1 leechers: - text: "1" + text: 1 downloadvolumefactor: - text: "0" + text: 0 uploadvolumefactor: - text: "1" + text: 1