Jackett/src/Jackett.Common/Definitions/horrorsite.yml

177 lines
4.8 KiB
YAML
Raw Normal View History

---
id: horrorsite
name: Horror Site
description: "Horror Site is a Hungarian Private site for MOVIES / TV"
language: hu-hu
type: private
encoding: iso-8859-1
links:
- https://selection-tracker.net/
legacylinks:
- https://horror-site.net/
caps:
categorymappings:
- {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: 52, cat: PC/Games, desc: "Játék/RIP/ISO"}
- {id: 75, cat: Other, desc: "Képek"}
- {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]
tv-search: [q, season, ep]
movie-search: [q]
music-search: [q]
2020-10-04 19:40:38 +00:00
book-search: [q]
settings:
- name: username
type: text
label: Username
- 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
default: "4"
options:
"4": "created"
"7": "seeders"
"5": "size"
"1": "title"
- name: type
type: select
label: Order requested from site
default: "2"
options:
"2": "desc"
"1": "asc"
- name: info
type: info
label: Results Per Page
default: For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile.
login:
path: takelogin.php
method: post
inputs:
post_kuldes: engedelyezve
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: table.browse:contains("hiba")
test:
path: /
2020-05-13 06:12:25 +00:00
selector: a[href$="/logout.php"]
search:
paths:
- path: browse.php
inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
# hidden field
turkalo: 0
search: "{{ .Keywords }}"
# 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
blah: 0
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"
# does not support imdbid search
rows:
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")
fields:
category:
selector: a[href^="browse.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
title:
selector: a[href^="details.php?id="]
attribute: title
details:
selector: a[href^="details.php?id="]
attribute: href
download:
selector: a[href^="/download.php/"]
attribute: href
imdb:
selector: a[href*="imdb.com/title/tt"]
optional: true
attribute: href
banner:
selector: a[onmouseover]
optional: true
attribute: onmouseover
filters:
- name: regexp
args: "src=(.+?) "
files:
selector: td:nth-last-child(8)
date:
selector: td:nth-last-child(6)
filters:
- name: regexp
args: (\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2})
- name: replace
args: ["\xA0", " "]
2020-10-04 19:40:38 +00:00
- name: append
args: " +01:00" # CET
- name: dateparse
2020-10-04 19:40:38 +00:00
args: "2006-01-02 15:04:05 -07:00"
size:
selector: td:nth-last-child(5) > u
grabs:
selector: td:nth-last-child(4)
seeders:
selector: td:nth-last-child(3)
leechers:
selector: td:nth-last-child(2)
downloadvolumefactor:
case:
img[src="../pic/freedownload.gif"]: 0
"*": 1
uploadvolumefactor:
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
2020-03-20 03:54:52 +00:00
# engine n/a