164 lines
4.6 KiB
YAML
164 lines
4.6 KiB
YAML
|
---
|
||
|
id: centraltorrent
|
||
|
name: Central Torrent
|
||
|
description: "Central Torrent is a POLISH Private Torrent Tracker for MOVIES / MUSIC"
|
||
|
language: pl-PL
|
||
|
type: private
|
||
|
encoding: ISO-8859-2
|
||
|
links:
|
||
|
- http://central-torrent.eu/ # site does not support https NET::ERR_CERT_AUTHORITY_INVALID
|
||
|
|
||
|
caps:
|
||
|
categorymappings:
|
||
|
- {id: 23, cat: TV/Anime, desc: "Animowane"}
|
||
|
- {id: 1, cat: PC, desc: "Aplikacje"}
|
||
|
- {id: 26, cat: Movies, desc: "Dzieci/Bajki"}
|
||
|
- {id: 29, cat: Books/EBook, desc: "E-books"}
|
||
|
- {id: 20, cat: Movies/SD, desc: "Filmy/DVD"}
|
||
|
- {id: 22, cat: Movies/SD, desc: "Filmy/RMVB"}
|
||
|
- {id: 35, cat: Movies/UHD, desc: "Filmy/UHD"}
|
||
|
- {id: 24, cat: Movies/HD, desc: "Filmy/x264"}
|
||
|
- {id: 36, cat: Movies/HD, desc: "Filmy/x265"}
|
||
|
- {id: 19, cat: Movies/SD, desc: "Filmy/XviD"}
|
||
|
- {id: 21, cat: Movies/SD, desc: "Filmy/XviD PL"}
|
||
|
- {id: 12, cat: PC/Games, desc: "Gry"}
|
||
|
- {id: 17, cat: PC/Games, desc: "Gry/Konsole"}
|
||
|
- {id: 4, cat: PC/Games, desc: "Gry/PC ISO"}
|
||
|
- {id: 28, cat: Other, desc: "GSM/PDA"}
|
||
|
- {id: 32, cat: Movies/BluRay, desc: "HD/Blu-ray"}
|
||
|
- {id: 31, cat: Audio/Lossless, desc: "Music/Lossless"}
|
||
|
- {id: 6, cat: Audio, desc: "Muzyka"}
|
||
|
- {id: 30, cat: Other, desc: "Rozne"}
|
||
|
- {id: 25, cat: TV/Sport, desc: "Sport"}
|
||
|
- {id: 27, cat: Audio/Video, desc: "Teledyski"}
|
||
|
- {id: 7, cat: TV, desc: "TV/Seriale"}
|
||
|
- {id: 9, cat: XXX, desc: "XXX"}
|
||
|
|
||
|
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: created
|
||
|
7: seeders
|
||
|
5: size
|
||
|
1: title
|
||
|
- 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>Torrents per page:</b> setting to <b>100</b> on your account profile.
|
||
|
- name: info_activity
|
||
|
type: info
|
||
|
label: Account Inactivity
|
||
|
default: "User accounts of the Power User class and lower, inactive for a period longer than 42 days, are deleted. Therefore, if for some reason you cannot access Central Torrent for some time, park your account. Although you won't be able to download torrents, you can be sure that you won't have to log in for 64 days. However, if after this time you do not log in to your account, it will be deleted."
|
||
|
|
||
|
login:
|
||
|
path: login.php
|
||
|
method: form
|
||
|
form: form[action="takelogin.php"]
|
||
|
inputs:
|
||
|
username: "{{ .Config.username }}"
|
||
|
password: "{{ .Config.password }}"
|
||
|
captcha:
|
||
|
type: image
|
||
|
selector: img.cimage
|
||
|
input: captcha
|
||
|
error:
|
||
|
- selector: td.embedded:has(h2:contains("failed"))
|
||
|
- selector: td.embedded:has(h2:contains("Error"))
|
||
|
- selector: form[action="takelogin.php"]
|
||
|
message:
|
||
|
text: "Login page detected at {{ .Config.sitelink }}."
|
||
|
test:
|
||
|
path: index.php
|
||
|
selector: a[href="/my.php"]
|
||
|
|
||
|
download:
|
||
|
selectors:
|
||
|
- selector: a[href^="download.php/"]
|
||
|
attribute: href
|
||
|
|
||
|
search:
|
||
|
paths:
|
||
|
- path: browse.php
|
||
|
inputs:
|
||
|
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||
|
search: "{{ .Keywords }}"
|
||
|
# 0 active, 1 all, 2 dead, 3 freeleech
|
||
|
incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}"
|
||
|
# 0 all, 1 polish, 2 non-polish
|
||
|
polish: 0
|
||
|
# 0 name
|
||
|
blah: 0
|
||
|
sort: "{{ .Config.sort }}"
|
||
|
type: "{{ .Config.type }}"
|
||
|
|
||
|
rows:
|
||
|
selector: table[onMouseover] > tbody > tr:has(a[href^="details.php?id="])
|
||
|
|
||
|
fields:
|
||
|
category:
|
||
|
selector: a[href^="browse.php?cat="]
|
||
|
attribute: href
|
||
|
filters:
|
||
|
- name: querystring
|
||
|
args: cat
|
||
|
title:
|
||
|
selector: a[href^="details.php?id="]
|
||
|
details:
|
||
|
selector: a[href^="details.php?id="]
|
||
|
attribute: href
|
||
|
download:
|
||
|
selector: a[href^="details.php?id="]
|
||
|
attribute: href
|
||
|
files:
|
||
|
selector: td:nth-child(3)
|
||
|
date:
|
||
|
selector: td:nth-child(5)
|
||
|
# auto adjusted by site account profile
|
||
|
filters:
|
||
|
- name: dateparse
|
||
|
args: "yyyy-MM-ddHH:mm:ss"
|
||
|
size:
|
||
|
selector: td:nth-child(7)
|
||
|
grabs:
|
||
|
selector: td:nth-child(8)
|
||
|
seeders:
|
||
|
selector: td:nth-child(9)
|
||
|
leechers:
|
||
|
selector: td:nth-child(10)
|
||
|
downloadvolumefactor:
|
||
|
case:
|
||
|
img[src="pic/freedownload.gif"]: 0
|
||
|
"*": 1
|
||
|
uploadvolumefactor:
|
||
|
text: 1
|
||
|
minimumratio:
|
||
|
text: 1.0
|
||
|
# tbsource
|