From bb3c8f59e8dadb6d65d35a0d59f77bf94dc12413 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Fri, 31 Mar 2023 07:43:18 +1300 Subject: [PATCH] torrentslocal:add freeleech search. #9456 --- src/Jackett.Common/Definitions/torrentslocal.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Jackett.Common/Definitions/torrentslocal.yml b/src/Jackett.Common/Definitions/torrentslocal.yml index bfccd965c..7da8b038d 100644 --- a/src/Jackett.Common/Definitions/torrentslocal.yml +++ b/src/Jackett.Common/Definitions/torrentslocal.yml @@ -308,6 +308,10 @@ settings: type: info label: Layout default: "Only the Classic forum style is supported.
  • On the TorrentsLocal web site navigate to the Личные настройки (Preferences) section and set the Стиль форума (Forum Style) option to Классическая тема (Classic Theme)
  • " + - name: freeleech + type: checkbox + label: Search freeleech only + default: false - name: sort type: select label: Sort requested from site @@ -376,10 +380,9 @@ search: # group releases -1=not selected srg: -1 nm: "{{ .Keywords }}" - # find a username - pn: "" # all words allw: 1 + tor_type: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" keywordsfilters: - name: re_replace args: ["(\\w+)", "+$1"] # prepend + to each word