horrorsite: add freeleech filter #9456

update categories
update domain
add minimumratio and minimumseedtime
This commit is contained in:
Garfield69 2020-09-12 20:12:14 +12:00
parent 2f64376be2
commit 263a08dc63
1 changed files with 29 additions and 10 deletions

View File

@ -6,30 +6,36 @@ language: hu-hu
type: private type: private
encoding: iso-8859-1 encoding: iso-8859-1
links: links:
- https://selection-tracker.net/
legacylinks:
- https://horror-site.net/ - https://horror-site.net/
caps: caps:
categorymappings: 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: 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: 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: 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: 40, cat: Movies/SD, desc: "Film/XviD/Eng"}
- {id: 39, cat: Movies/SD, desc: "Film/XviD/Hun"} - {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: 52, cat: PC/Games, desc: "Játék/RIP/ISO"}
- {id: 75, cat: Other, desc: "Képek"} - {id: 75, cat: Other, desc: "Képek"}
- {id: 74, cat: XXX, desc: "Képek/XXX"} - {id: 107, cat: Books, desc: "eBook/Eng"}
- {id: 47, cat: Audio/Video, desc: "Klip"} - {id: 61, cat: Books, desc: "eBook/Hun"}
- {id: 106, cat: PC/Phone-Other, desc: "Mobil"}
- {id: 50, cat: Audio/MP3, desc: "Mp3/Eng"} - {id: 50, cat: Audio/MP3, desc: "Mp3/Eng"}
- {id: 49, cat: Audio/MP3, desc: "Mp3/Hun"} - {id: 49, cat: Audio/MP3, desc: "Mp3/Hun"}
- {id: 45, cat: PC, desc: "Program ISO /RIP"} - {id: 45, cat: PC, desc: "Program ISO /RIP"}
- {id: 43, cat: TV, desc: "Rajzfilm/Hun"} - {id: 43, cat: TV, desc: "Rajzfilm/Hun"}
- {id: 57, cat: TV, desc: "Sorozat/Eng"} - {id: 57, cat: TV, desc: "Sorozat/Eng"}
- {id: 58, cat: TV, desc: "Sorozat/Hun"} - {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: modes:
search: [q] search: [q]
@ -44,6 +50,10 @@ settings:
- name: password - name: password
type: password type: password
label: Password label: Password
- name: freeleech
type: checkbox
label: Filter freeleech only
default: false
- name: sort - name: sort
type: select type: select
label: Sort requested from site label: Sort requested from site
@ -83,17 +93,21 @@ search:
- path: browse.php - path: browse.php
inputs: inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}" $raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
# hidden field
turkalo: 0
search: "{{ .Keywords }}" 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 incldead: 1
# 0 name 1 descr 2 both # 0 name, 1 descr, 2 both
blah: 0 blah: 0
sort: "{{ .Config.sort }}" sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}" type: "{{ .Config.type }}"
# does not support imdbid search # does not support imdbid search
rows: 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: # error:
# - selector: div.content:contains("Meg van vonva a letöltési jogod") # - selector: div.content:contains("Meg van vonva a letöltési jogod")
@ -151,4 +165,9 @@ search:
case: case:
# img[src="../pic/????????.gif"]: 2 # there is a double (according to incldead=4) but not found at this time. # img[src="../pic/????????.gif"]: 2 # there is a double (according to incldead=4) but not found at this time.
"*": 1 "*": 1
minimumratio:
text: 1.0
minimumseedtime:
# 7 days (as seconds = 7 x 24 x 60 x 60)
text: 604800
# engine n/a # engine n/a