mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
torrentslocal:add freeleech search. #9456
This commit is contained in:
@@ -308,6 +308,10 @@ settings:
|
|||||||
type: info
|
type: info
|
||||||
label: Layout
|
label: Layout
|
||||||
default: "<b>Only the Classic forum style is supported.</b><br/><li>On the TorrentsLocal web site navigate to the <b>Личные настройки (Preferences)</b> section and set the <b>Стиль форума (Forum Style)</b> option to <b>Классическая тема (Classic Theme)</b></li>"
|
default: "<b>Only the Classic forum style is supported.</b><br/><li>On the TorrentsLocal web site navigate to the <b>Личные настройки (Preferences)</b> section and set the <b>Стиль форума (Forum Style)</b> option to <b>Классическая тема (Classic Theme)</b></li>"
|
||||||
|
- name: freeleech
|
||||||
|
type: checkbox
|
||||||
|
label: Search freeleech only
|
||||||
|
default: false
|
||||||
- name: sort
|
- name: sort
|
||||||
type: select
|
type: select
|
||||||
label: Sort requested from site
|
label: Sort requested from site
|
||||||
@@ -376,10 +380,9 @@ search:
|
|||||||
# group releases -1=not selected
|
# group releases -1=not selected
|
||||||
srg: -1
|
srg: -1
|
||||||
nm: "{{ .Keywords }}"
|
nm: "{{ .Keywords }}"
|
||||||
# find a username
|
|
||||||
pn: ""
|
|
||||||
# all words
|
# all words
|
||||||
allw: 1
|
allw: 1
|
||||||
|
tor_type: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
|
||||||
keywordsfilters:
|
keywordsfilters:
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(\\w+)", "+$1"] # prepend + to each word
|
args: ["(\\w+)", "+$1"] # prepend + to each word
|
||||||
|
Reference in New Issue
Block a user