From 8e4d797d1b387d54c85e5bede0feeb670d32db93 Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Sun, 9 Jan 2022 17:08:58 +0000 Subject: [PATCH] assorted: remove unrelated results (#12790) --- src/Jackett.Common/Definitions/arabp2p.yml | 2 ++ src/Jackett.Common/Definitions/bigfangroup.yml | 2 ++ src/Jackett.Common/Definitions/bitsexy.yml | 6 ++++++ src/Jackett.Common/Definitions/bluesbrothers.yml | 2 ++ src/Jackett.Common/Definitions/eniahd.yml | 2 ++ src/Jackett.Common/Definitions/finelite.yml | 2 ++ src/Jackett.Common/Definitions/hqsource.yml | 3 ++- src/Jackett.Common/Definitions/rintor.yml | 2 ++ src/Jackett.Common/Definitions/sktorrent-org.yml | 2 ++ src/Jackett.Common/Definitions/theleachzone.yml | 2 ++ src/Jackett.Common/Definitions/torlook.yml | 2 ++ src/Jackett.Common/Definitions/torrentoyunindir.yml | 2 ++ src/Jackett.Common/Definitions/wdt.yml | 6 ++++++ src/Jackett.Common/Definitions/zomb.yml | 2 ++ 14 files changed, 36 insertions(+), 1 deletion(-) diff --git a/src/Jackett.Common/Definitions/arabp2p.yml b/src/Jackett.Common/Definitions/arabp2p.yml index 802c06aa3..44e9ced6a 100644 --- a/src/Jackett.Common/Definitions/arabp2p.yml +++ b/src/Jackett.Common/Definitions/arabp2p.yml @@ -126,6 +126,8 @@ search: rows: selector: table.torrent tr.torrent + filters: + - name: andmatch fields: category: diff --git a/src/Jackett.Common/Definitions/bigfangroup.yml b/src/Jackett.Common/Definitions/bigfangroup.yml index 6161100c2..ea12f45a1 100644 --- a/src/Jackett.Common/Definitions/bigfangroup.yml +++ b/src/Jackett.Common/Definitions/bigfangroup.yml @@ -101,6 +101,8 @@ search: rows: selector: table > tbody#highlighted > tr:has(a[href^="browse.php?cat="]) + filters: + - name: andmatch fields: category: diff --git a/src/Jackett.Common/Definitions/bitsexy.yml b/src/Jackett.Common/Definitions/bitsexy.yml index e8a5853df..514a7512e 100644 --- a/src/Jackett.Common/Definitions/bitsexy.yml +++ b/src/Jackett.Common/Definitions/bitsexy.yml @@ -119,8 +119,14 @@ search: sort: "{{ .Config.sort }}" type: "{{ .Config.type }}" + keywordsfilters: + - name: re_replace + args: ["(\\w+)", " +$1"] # prepend + to each word + rows: selector: div.torrentrow:has(a[href^="download.php?torrent="]) + filters: + - name: andmatch fields: category: diff --git a/src/Jackett.Common/Definitions/bluesbrothers.yml b/src/Jackett.Common/Definitions/bluesbrothers.yml index b3797875f..7ad9a55ad 100644 --- a/src/Jackett.Common/Definitions/bluesbrothers.yml +++ b/src/Jackett.Common/Definitions/bluesbrothers.yml @@ -119,6 +119,8 @@ search: rows: selector: table.table-bordered tr:has(a[href^="download.php?torrent="]) + filters: + - name: andmatch fields: category: diff --git a/src/Jackett.Common/Definitions/eniahd.yml b/src/Jackett.Common/Definitions/eniahd.yml index 546ce48f3..3e5d71f63 100644 --- a/src/Jackett.Common/Definitions/eniahd.yml +++ b/src/Jackett.Common/Definitions/eniahd.yml @@ -155,6 +155,8 @@ search: rows: selector: tr[id^="tor_"]:has(a[href^="./dl.php?id="]) + filters: + - name: andmatch fields: title: diff --git a/src/Jackett.Common/Definitions/finelite.yml b/src/Jackett.Common/Definitions/finelite.yml index 49a3dcfb6..122676488 100644 --- a/src/Jackett.Common/Definitions/finelite.yml +++ b/src/Jackett.Common/Definitions/finelite.yml @@ -98,6 +98,8 @@ search: rows: selector: table.main > tbody > tr:has(a[href^="/lataa.php/"]) + filters: + - name: andmatch fields: category: diff --git a/src/Jackett.Common/Definitions/hqsource.yml b/src/Jackett.Common/Definitions/hqsource.yml index f4f870daf..d588bfeb8 100644 --- a/src/Jackett.Common/Definitions/hqsource.yml +++ b/src/Jackett.Common/Definitions/hqsource.yml @@ -68,7 +68,8 @@ search: search: "{{ .Keywords }}" incldead: 1 polish: 0 - blah: 0 + # 0 both, 1 name, 2 desc + blah: 1 rows: selector: table#line > tbody > tr:has(a[href^="details.php?id="]) diff --git a/src/Jackett.Common/Definitions/rintor.yml b/src/Jackett.Common/Definitions/rintor.yml index c8232778e..34bc446c3 100644 --- a/src/Jackett.Common/Definitions/rintor.yml +++ b/src/Jackett.Common/Definitions/rintor.yml @@ -150,6 +150,8 @@ search: rows: selector: tr[id^="tor_"] + filters: + - name: andmatch fields: category: diff --git a/src/Jackett.Common/Definitions/sktorrent-org.yml b/src/Jackett.Common/Definitions/sktorrent-org.yml index 8f27b84b5..9f435e51b 100644 --- a/src/Jackett.Common/Definitions/sktorrent-org.yml +++ b/src/Jackett.Common/Definitions/sktorrent-org.yml @@ -119,6 +119,8 @@ search: rows: selector: tr.t-row + filters: + - name: andmatch fields: category: diff --git a/src/Jackett.Common/Definitions/theleachzone.yml b/src/Jackett.Common/Definitions/theleachzone.yml index b40b00d1f..404b7d54b 100644 --- a/src/Jackett.Common/Definitions/theleachzone.yml +++ b/src/Jackett.Common/Definitions/theleachzone.yml @@ -111,6 +111,8 @@ search: rows: selector: table.table-bordered tr:has(a[href^="download.php?torrent="]) + filters: + - name: andmatch fields: category: diff --git a/src/Jackett.Common/Definitions/torlook.yml b/src/Jackett.Common/Definitions/torlook.yml index b8ea2ad32..888858774 100644 --- a/src/Jackett.Common/Definitions/torlook.yml +++ b/src/Jackett.Common/Definitions/torlook.yml @@ -53,6 +53,8 @@ search: rows: selector: div.webResult:has(a.magneto[data-src]) + filters: + - name: andmatch fields: category: diff --git a/src/Jackett.Common/Definitions/torrentoyunindir.yml b/src/Jackett.Common/Definitions/torrentoyunindir.yml index c39fd0ea9..9914b4ed2 100644 --- a/src/Jackett.Common/Definitions/torrentoyunindir.yml +++ b/src/Jackett.Common/Definitions/torrentoyunindir.yml @@ -28,6 +28,8 @@ search: rows: selector: div.moviefilm + filters: + - name: andmatch fields: category: diff --git a/src/Jackett.Common/Definitions/wdt.yml b/src/Jackett.Common/Definitions/wdt.yml index 8c7d8bd38..f49ffc0a4 100644 --- a/src/Jackett.Common/Definitions/wdt.yml +++ b/src/Jackett.Common/Definitions/wdt.yml @@ -123,8 +123,14 @@ search: sort: "{{ .Config.sort }}" type: "{{ .Config.type }}" + keywordsfilters: + - name: re_replace + args: ["(\\w+)", " +$1"] # prepend + to each word + rows: selector: table.table-bordered tr:has(a[href^="download.php?torrent="]) + filters: + - name: andmatch fields: category: diff --git a/src/Jackett.Common/Definitions/zomb.yml b/src/Jackett.Common/Definitions/zomb.yml index 19c1b44cc..20daed2b8 100644 --- a/src/Jackett.Common/Definitions/zomb.yml +++ b/src/Jackett.Common/Definitions/zomb.yml @@ -81,6 +81,8 @@ search: rows: selector: "table[style=\"border: solid #000000 1px;\"] > tbody > tr:has(a[href^=\"takedownload.php?id=\"])" + filters: + - name: andmatch fields: category: