mirror of https://github.com/Jackett/Jackett
hon3yhd: add freeleech filter #9456
This commit is contained in:
parent
40e821be1a
commit
2f64376be2
|
@ -55,6 +55,18 @@ caps:
|
|||
movie-search: [q]
|
||||
music-search: [q]
|
||||
|
||||
settings:
|
||||
- name: username
|
||||
type: text
|
||||
label: Username
|
||||
- name: password
|
||||
type: password
|
||||
label: Password
|
||||
- name: freeleech
|
||||
type: checkbox
|
||||
label: Search freeleech only
|
||||
default: false
|
||||
|
||||
login:
|
||||
path: login.php
|
||||
method: form
|
||||
|
@ -78,14 +90,17 @@ search:
|
|||
searchin: title
|
||||
# 0 active, 1 incldead, 2 onlydead
|
||||
incldead: 1
|
||||
only_free: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
|
||||
keywordsfilters:
|
||||
# by default the search returns unordered resuts of an OR query making the results useless in many cases, adding + to the keywords improves the situation (Issue #1859)
|
||||
- name: re_replace # replace special characters with " +"
|
||||
args: ["[^\\w\\d]+", " +"]
|
||||
- name: prepend
|
||||
args: "+"
|
||||
|
||||
rows:
|
||||
selector: table > tbody > tr.tt
|
||||
|
||||
fields:
|
||||
title:
|
||||
selector: a[href^="details.php?id="]
|
||||
|
|
Loading…
Reference in New Issue