mirror of https://github.com/Jackett/Jackett
totallykids: add freeleech filter #9456
add minimumratio and minimumseedtime
This commit is contained in:
parent
8741a7cacd
commit
98ba41509f
|
@ -8,34 +8,6 @@ encoding: UTF-8
|
|||
links:
|
||||
- http://www.totallykids.tv/ # site does not support https NET::ERR_CERT_AUTHORITY_INVALID
|
||||
|
||||
settings:
|
||||
- name: username
|
||||
type: text
|
||||
label: Username
|
||||
- name: password
|
||||
type: password
|
||||
label: Password
|
||||
- name: info_results
|
||||
type: info
|
||||
label: "Search results"
|
||||
default: "Only the <b>xBtit_Default</b> style is supported with this indexer.<br />For best results, increase the torrents number in your profile to 100.<br />Default is 15."
|
||||
- name: sort
|
||||
type: select
|
||||
label: Sort requested from site
|
||||
default: "data"
|
||||
options:
|
||||
"data": "created"
|
||||
"seeds": "seeders"
|
||||
"size": "size"
|
||||
"filename": "title"
|
||||
- name: type
|
||||
type: select
|
||||
label: Order requested from site
|
||||
default: "DESC"
|
||||
options:
|
||||
"DESC": "desc"
|
||||
"ASC": "asc"
|
||||
|
||||
caps:
|
||||
categorymappings:
|
||||
- {id: 5, cat: Audio, desc: "Music"}
|
||||
|
@ -56,6 +28,38 @@ caps:
|
|||
movie-search: [q, imdbid]
|
||||
music-search: [q]
|
||||
|
||||
settings:
|
||||
- name: username
|
||||
type: text
|
||||
label: Username
|
||||
- name: password
|
||||
type: password
|
||||
label: Password
|
||||
- name: info_results
|
||||
type: info
|
||||
label: "Search results"
|
||||
default: "Only the <b>xBtit_Default</b> style is supported with this indexer.<br />For best results, increase the torrents number in your profile to 100.<br />Default is 15."
|
||||
- name: freeleech
|
||||
type: checkbox
|
||||
label: Filter freeleech only
|
||||
default: false
|
||||
- name: sort
|
||||
type: select
|
||||
label: Sort requested from site
|
||||
default: "data"
|
||||
options:
|
||||
"data": "created"
|
||||
"seeds": "seeders"
|
||||
"size": "size"
|
||||
"filename": "title"
|
||||
- name: type
|
||||
type: select
|
||||
label: Order requested from site
|
||||
default: "DESC"
|
||||
options:
|
||||
"DESC": "desc"
|
||||
"ASC": "asc"
|
||||
|
||||
login:
|
||||
path: index.php?page=login
|
||||
method: form
|
||||
|
@ -75,17 +79,17 @@ search:
|
|||
- path: index.php
|
||||
inputs:
|
||||
page: torrents
|
||||
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
|
||||
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||
category: "{{ if .Categories }}{{ range .Categories }}{{.}};{{end}}{{else}}0{{end}}"
|
||||
# 0=title, 1=title&descr, 2=descr
|
||||
options: "{{ if .Query.IMDBID }}2{{else}}0{{end}}"
|
||||
# 0 all 1 activeonly 2 deadonly
|
||||
options: "{{ if .Query.IMDBID }}2{{ else }}0{{ end }}"
|
||||
# 0 all, 1 activeonly, 2 deadonly
|
||||
active: 0
|
||||
order: "{{ .Config.sort }}"
|
||||
by: "{{ .Config.type }}"
|
||||
|
||||
rows:
|
||||
selector: table.lista tr td table.lista tr:has(a[href^="index.php?page=torrent-details"])
|
||||
selector: "table.lista tr td table.lista tr:has(a[href^=\"index.php?page=torrent-details\"]){{ if .Config.freeleech }}:has(img[src=\"gold/gold.gif\"]){{ else }}{{ end }}"
|
||||
|
||||
fields:
|
||||
title:
|
||||
|
@ -151,4 +155,9 @@ search:
|
|||
"*": 1
|
||||
uploadvolumefactor:
|
||||
text: 1
|
||||
minimumratio:
|
||||
text: 1.0
|
||||
minimumseedtime:
|
||||
# 7 days (as seconds = 7 x 24 x 60 x 60)
|
||||
text: 604800
|
||||
# xbtit
|
||||
|
|
Loading…
Reference in New Issue