From dd60498d49239e2ef0032f519db05395732f8cf2 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Wed, 15 Apr 2020 07:40:56 +1200 Subject: [PATCH] TPB: ignore simplified chinese resolves #7291 --- src/Jackett.Common/Definitions/thepiratebay.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Jackett.Common/Definitions/thepiratebay.yml b/src/Jackett.Common/Definitions/thepiratebay.yml index 64303056c..500c95c80 100644 --- a/src/Jackett.Common/Definitions/thepiratebay.yml +++ b/src/Jackett.Common/Definitions/thepiratebay.yml @@ -120,6 +120,9 @@ paths: - path: "{{ if .Keywords }}/search/{{ .Keywords }}/0/{{ .Config.order }}/{{ join .Categories \",\"}}{{else}}/recent{{end}}" keywordsfilters: + # replace simplified chinese as this confuses TPB search engine #7291 + - name: re_replace + args: ["([\\p{IsCJKUnifiedIdeographs}\\W]+)", "."] # currently, the only uploader for General Hospital puts a space between season and episode # this filter searches both formats, so "General Hospital S01E02" becomes "General Hospital S01E02 | (S01 E02)" - name: re_replace