174 lines
4.6 KiB
YAML
174 lines
4.6 KiB
YAML
---
|
|
id: party-tracker
|
|
name: Party-Tracker
|
|
description: "Party-Tracker is a HUNGARIAN private tracker for MOVIES / TV / GENERAL"
|
|
language: hu-HU
|
|
type: private
|
|
encoding: ISO-8859-2
|
|
links:
|
|
- https://party-tracker.info/
|
|
|
|
caps:
|
|
categorymappings:
|
|
- {id: 47, cat: Console/XBox, desc: "Játék/Xbox"}
|
|
- {id: 46, cat: Console/PS3, desc: "Játék/Ps2"}
|
|
- {id: 45, cat: PC/Games, desc: "Játék/Pc"}
|
|
- {id: 44, cat: Movies/SD, desc: "Cam/hun"}
|
|
- {id: 69, cat: Movies/SD, desc: "Cam/eng"}
|
|
- {id: 43, cat: Movies/SD, desc: "Film/Hun/XviD"}
|
|
- {id: 42, cat: Movies/SD, desc: "Film/Eng/XviD"}
|
|
- {id: 41, cat: Movies/DVD, desc: "Film/Hun/DVD"}
|
|
- {id: 40, cat: Movies/DVD, desc: "Film/Eng/DVD"}
|
|
- {id: 39, cat: Books/EBook, desc: "E-book"}
|
|
- {id: 38, cat: TV/HD, desc: "HD/Hun"}
|
|
- {id: 57, cat: TV/SD, desc: "Sorozat/Eng"}
|
|
- {id: 66, cat: TV/HD, desc: "HD/Eng"}
|
|
- {id: 50, cat: PC/Mobile-Other, desc: "Mobil"}
|
|
- {id: 51, cat: PC/0day, desc: "Programok"}
|
|
- {id: 52, cat: TV/SD, desc: "Sorozat/Hun"}
|
|
- {id: 53, cat: XXX/x264, desc: "XXX/Film"}
|
|
- {id: 54, cat: XXX/ImageSet, desc: "XXX/Kép"}
|
|
- {id: 48, cat: Other, desc: "Képek"}
|
|
- {id: 49, cat: TV/Anime, desc: "Mese"}
|
|
- {id: 55, cat: Audio, desc: "Zene/Eng"}
|
|
- {id: 56, cat: Audio, desc: "Zene/Hun"}
|
|
- {id: 65, cat: Audio/Audiobook, desc: "Hangoskönyv"}
|
|
- {id: 67, cat: Audio/Video, desc: "Klipp"}
|
|
- {id: 68, cat: Books/EBook, desc: "Ebook/eng"}
|
|
|
|
modes:
|
|
search: [q]
|
|
tv-search: [q, season, ep]
|
|
movie-search: [q]
|
|
music-search: [q]
|
|
book-search: [q]
|
|
|
|
settings:
|
|
- name: username
|
|
type: text
|
|
label: Username
|
|
- name: password
|
|
type: password
|
|
label: Password
|
|
- name: freeleech
|
|
type: checkbox
|
|
label: Search FreeLeech only
|
|
default: false
|
|
- name: sort
|
|
type: select
|
|
label: Sort requested from site
|
|
default: 4
|
|
options:
|
|
4: added
|
|
5: size
|
|
7: seeders
|
|
- name: type
|
|
type: select
|
|
label: Order requested from site
|
|
default: desc
|
|
options:
|
|
desc: desc
|
|
asc: asc
|
|
- name: info_tpp
|
|
type: info
|
|
label: Results Per Page
|
|
default: For best results, change the <b>Torrent oldalanként:</b> setting to <b>100</b> on your account profile.
|
|
|
|
login:
|
|
method: post
|
|
path: takelogin.php
|
|
inputs:
|
|
username: "{{ .Config.username }}"
|
|
password: "{{ .Config.password }}"
|
|
error:
|
|
- selector: table.main:contains("Hiba")
|
|
test:
|
|
path: index.php
|
|
selector: a[href^="logout.php?url="]
|
|
|
|
search:
|
|
paths:
|
|
- path: letoltes.php
|
|
inputs:
|
|
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
|
search: "{{ .Keywords }}"
|
|
# title, descr, actor, tag
|
|
ker: 0
|
|
# 0 active, 1 active+idead, 2 dead, 3 free, 4 x2, 6 my torrents
|
|
incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}"
|
|
sort: "{{ .Config.sort }}"
|
|
type: "{{ .Config.type }}"
|
|
# does not support imdbid searches
|
|
|
|
keywordsfilters:
|
|
# replace spaces between words with percent wildcard
|
|
- name: re_replace
|
|
args: ["\\W+", "%"]
|
|
|
|
rows:
|
|
selector: table.main > tbody > tr:has(a[href^="letoltes.php?tipus="])
|
|
|
|
fields:
|
|
category:
|
|
selector: a[href^="letoltes.php?tipus="]
|
|
attribute: href
|
|
filters:
|
|
- name: querystring
|
|
args: tipus
|
|
title:
|
|
selector: a[href^="details.php?id="]
|
|
attribute: title
|
|
details:
|
|
selector: a[href^="details.php?id="]
|
|
attribute: href
|
|
download:
|
|
selector: a[href^="download.php?id="]
|
|
attribute: href
|
|
poster:
|
|
selector: span[onmouseover]
|
|
attribute: onmouseover
|
|
filters:
|
|
- name: regexp
|
|
args: src=([^\s]+)
|
|
genre:
|
|
selector: a[href^="/letoltes.php?cimke="]
|
|
description:
|
|
case:
|
|
img[src="/fajlok/kepek/yes.svg"]: "Verified: {{ .Result.genre }}"
|
|
"*": "Unverified: {{ .Result.genre }}"
|
|
imdbid:
|
|
selector: a[href*="imdb.com/title/tt"]
|
|
attribute: href
|
|
date:
|
|
selector: td:nth-child(5)
|
|
remove: font
|
|
filters:
|
|
- name: replace
|
|
args: ["\xA0", ""]
|
|
- name: append
|
|
args: " +01:00" # CET
|
|
- name: dateparse
|
|
args: "yyyy-MM-ddHH:mm:ss zzz"
|
|
size:
|
|
selector: td:nth-child(6)
|
|
grabs:
|
|
selector: td:nth-child(7)
|
|
seeders:
|
|
selector: td:nth-child(8)
|
|
leechers:
|
|
selector: td:nth-child(9)
|
|
downloadvolumefactor:
|
|
case:
|
|
img[src="fajlok/kepek/free.gif"]: 0
|
|
"*": 1
|
|
uploadvolumefactor:
|
|
case:
|
|
img[src="fajlok/kepek/x2.gif"]: 2
|
|
"*": 1
|
|
minimumratio:
|
|
text: 1.0
|
|
minimumseedtime:
|
|
# 2 days (as seconds = 2 x 24 x 60 x 60)
|
|
text: 172800
|
|
# engine n/a
|