mirror of https://github.com/Jackett/Jackett
horrorsite: add freeleech filter #9456
update categories update domain add minimumratio and minimumseedtime
This commit is contained in:
parent
2f64376be2
commit
263a08dc63
|
@ -6,30 +6,36 @@ language: hu-hu
|
|||
type: private
|
||||
encoding: iso-8859-1
|
||||
links:
|
||||
- https://selection-tracker.net/
|
||||
legacylinks:
|
||||
- https://horror-site.net/
|
||||
|
||||
caps:
|
||||
categorymappings:
|
||||
- {id: 76, cat: PC/Phone-Android, desc: "Android"}
|
||||
- {id: 81, cat: Movies/BluRay, desc: "BDRip"}
|
||||
- {id: 82, cat: Movies/SD, desc: "Cam"}
|
||||
- {id: 61, cat: Books, desc: "eBook/Hun"}
|
||||
- {id: 80, cat: Movies, desc: "Film /PACK"}
|
||||
- {id: 82, cat: Movies/SD, desc: "Cam-Hun"}
|
||||
- {id: 105, cat: Movies/DVD, desc: "Film/DVD-R/Eng"}
|
||||
- {id: 38, cat: Movies/DVD, desc: "Film/DVD-R/Hun"}
|
||||
- {id: 76, cat: Movies/HD, desc: "Film/HD/Eng"}
|
||||
- {id: 71, cat: Movies/HD, desc: "Film/HD/Hun"}
|
||||
- {id: 103, cat: Movies/SD, desc: "Film/SD/Eng"}
|
||||
- {id: 104, cat: Movies/SD, desc: "Film/SD/Hun"}
|
||||
- {id: 40, cat: Movies/SD, desc: "Film/XviD/Eng"}
|
||||
- {id: 39, cat: Movies/SD, desc: "Film/XviD/Hun"}
|
||||
- {id: 59, cat: XXX, desc: "Film/XXX"}
|
||||
- {id: 52, cat: PC/Games, desc: "Játék/RIP/ISO"}
|
||||
- {id: 75, cat: Other, desc: "Képek"}
|
||||
- {id: 74, cat: XXX, desc: "Képek/XXX"}
|
||||
- {id: 47, cat: Audio/Video, desc: "Klip"}
|
||||
- {id: 107, cat: Books, desc: "eBook/Eng"}
|
||||
- {id: 61, cat: Books, desc: "eBook/Hun"}
|
||||
- {id: 106, cat: PC/Phone-Other, desc: "Mobil"}
|
||||
- {id: 50, cat: Audio/MP3, desc: "Mp3/Eng"}
|
||||
- {id: 49, cat: Audio/MP3, desc: "Mp3/Hun"}
|
||||
- {id: 45, cat: PC, desc: "Program ISO /RIP"}
|
||||
- {id: 43, cat: TV, desc: "Rajzfilm/Hun"}
|
||||
- {id: 57, cat: TV, desc: "Sorozat/Eng"}
|
||||
- {id: 58, cat: TV, desc: "Sorozat/Hun"}
|
||||
- {id: 102, cat: XXX, desc: "Film/XXX/HD"}
|
||||
- {id: 59, cat: XXX, desc: "Film/XXX/SD"}
|
||||
- {id: 74, cat: XXX, desc: "Képek/XXX"}
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
|
@ -44,6 +50,10 @@ settings:
|
|||
- name: password
|
||||
type: password
|
||||
label: Password
|
||||
- name: freeleech
|
||||
type: checkbox
|
||||
label: Filter freeleech only
|
||||
default: false
|
||||
- name: sort
|
||||
type: select
|
||||
label: Sort requested from site
|
||||
|
@ -83,17 +93,21 @@ search:
|
|||
- path: browse.php
|
||||
inputs:
|
||||
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||
# hidden field
|
||||
turkalo: 0
|
||||
search: "{{ .Keywords }}"
|
||||
# 0 active 1 active&dead 2 dead 3 recomended 4 double 5 free
|
||||
# 0 active, 1 all, 2 dead, 3 recomended, 4 double, 5 free
|
||||
# note: option 4 and 5 do not actually filter. everything is returned.
|
||||
# incldead: "{{ if .Config.freeleech }}5{{ else }}1{{ end }}"
|
||||
incldead: 1
|
||||
# 0 name 1 descr 2 both
|
||||
# 0 name, 1 descr, 2 both
|
||||
blah: 0
|
||||
sort: "{{ .Config.sort }}"
|
||||
type: "{{ .Config.type }}"
|
||||
# does not support imdbid search
|
||||
|
||||
rows:
|
||||
selector: table > tbody > tr.sor:has(a[href^="/download.php/"])
|
||||
selector: "table > tbody > tr.sor:has(a[href^=\"/download.php/\"]){{ if .Config.freeleech }}:has(img[src=\"../pic/freedownload.gif\"]){{ else }}{{ end }}"
|
||||
# error:
|
||||
# - selector: div.content:contains("Meg van vonva a letöltési jogod")
|
||||
|
||||
|
@ -151,4 +165,9 @@ search:
|
|||
case:
|
||||
# img[src="../pic/????????.gif"]: 2 # there is a double (according to incldead=4) but not found at this time.
|
||||
"*": 1
|
||||
minimumratio:
|
||||
text: 1.0
|
||||
minimumseedtime:
|
||||
# 7 days (as seconds = 7 x 24 x 60 x 60)
|
||||
text: 604800
|
||||
# engine n/a
|
||||
|
|
Loading…
Reference in New Issue