mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
uhdbits: add freeleech filter #9456
add config sort options add minimumratio
This commit is contained in:
@@ -37,6 +37,25 @@ settings:
|
|||||||
type: info
|
type: info
|
||||||
label: "About 2FA code"
|
label: "About 2FA code"
|
||||||
default: "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the UHDBits Web Site. Otherwise just leave it empty."
|
default: "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the UHDBits Web Site. Otherwise just leave it empty."
|
||||||
|
- name: freeleech
|
||||||
|
type: checkbox
|
||||||
|
label: Search freeleech only
|
||||||
|
default: false
|
||||||
|
- name: sort
|
||||||
|
type: select
|
||||||
|
label: Sort requested from site
|
||||||
|
default: "time"
|
||||||
|
options:
|
||||||
|
"time": "created"
|
||||||
|
"seeders": "seeders"
|
||||||
|
"size": "size"
|
||||||
|
- name: type
|
||||||
|
type: select
|
||||||
|
label: Order requested from site
|
||||||
|
default: "desc"
|
||||||
|
options:
|
||||||
|
"desc": "desc"
|
||||||
|
"asc": "asc"
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: login.php
|
path: login.php
|
||||||
@@ -57,14 +76,16 @@ ratio:
|
|||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
|
# https://uhdbits.org/torrents.php?groupname=&filelist=&description=&artistname=&recordlabel=&remastertitle=&remasterrecordlabel=&rating=0&rating1=10&freetorrent=1&searchstr=&taglist=&tags_type=1&order_by=time&order_way=desc&action=advanced&searchsubmit=1
|
||||||
- path: torrents.php
|
- path: torrents.php
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
|
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
|
||||||
searchstr: "{{ if .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
|
searchstr: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||||
imdbid: "{{ .Query.IMDBIDShort }}"
|
imdbid: "{{ .Query.IMDBIDShort }}"
|
||||||
tags_type: 1
|
tags_type: 1
|
||||||
order_by: time
|
freetorrent: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
|
||||||
order_way: desc
|
order_by: "{{ .Config.sort }}"
|
||||||
|
order_way: "{{ .Config.type }}"
|
||||||
action: advanced
|
action: advanced
|
||||||
searchsubmit: 1
|
searchsubmit: 1
|
||||||
|
|
||||||
@@ -157,4 +178,6 @@ search:
|
|||||||
case:
|
case:
|
||||||
"strong.blink_me:contains(\"2x\")": 2
|
"strong.blink_me:contains(\"2x\")": 2
|
||||||
"*": 1
|
"*": 1
|
||||||
# engine tbd
|
minimumratio:
|
||||||
|
text: 0.6
|
||||||
|
# engine n/a
|
||||||
|
Reference in New Issue
Block a user