Jackett/src/Jackett.Common/Definitions/carpathians.yml

165 lines
4.3 KiB
YAML
Raw Normal View History

---
id: carpathians
name: Carpathians
description: "Carpathians is a HUNGARIAN Private Torrent Tracker for 0DAY / GENERAL"
language: hu-hu
type: private
encoding: UTF-8
links:
- https://mycarpathians.net/
2017-02-27 18:37:32 +00:00
caps:
categorymappings:
- {id: 186, cat: Books, desc: "E-book"}
2020-12-17 04:08:55 +00:00
- {id: 199, cat: Movies/SD, desc: "Film/Bluray/Hun"}
- {id: 194, cat: Movies/SD, desc: "Film/CAM"}
- {id: 60, cat: Movies/DVD, desc: "Film/DVD-R/Eng"}
- {id: 10, cat: Movies/DVD, desc: "Film/DVD-R/Hun"}
- {id: 20, cat: Movies/DVD, desc: "Film/DVD9/Hun"}
- {id: 181, cat: Movies/HD, desc: "Film/HD/Eng"}
- {id: 183, cat: Movies/HD, desc: "Film/HD/Hun"}
2020-12-17 04:08:55 +00:00
- {id: 200, cat: Movies/HD, desc: "Film/UHD/Hun"}
- {id: 192, cat: Movies/HD, desc: "Film/x264/Eng"}
- {id: 190, cat: Movies/HD, desc: "Film/x264/Hun"}
- {id: 70, cat: Movies/SD, desc: "Film/XviD/Eng"}
- {id: 30, cat: Movies/SD, desc: "Film/XviD/Hun"}
2020-12-17 04:08:55 +00:00
- {id: 150, cat: Console, desc: "Játék/Konzol"}
- {id: 130, cat: PC/Games, desc: "Játék/PC"}
- {id: 182, cat: Audio/Lossless, desc: "Lossless"}
- {id: 90, cat: Audio/MP3, desc: "Mp3/Eng"}
- {id: 50, cat: Audio/MP3, desc: "Mp3/Hun"}
- {id: 100, cat: Audio/Video, desc: "Music-Video"}
- {id: 180, cat: PC/Mobile-Other, desc: "Program/Mobil"}
- {id: 170, cat: PC/0day, desc: "Program/PC"}
- {id: 80, cat: TV, desc: "Sorozat/Eng"}
- {id: 40, cat: TV, desc: "Sorozat/Hun"}
- {id: 110, cat: XXX, desc: "XXX"}
2017-02-27 18:37:32 +00:00
modes:
search: [q]
tv-search: [q, season, ep, imdbid]
movie-search: [q, imdbid]
music-search: [q]
book-search: [q]
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: sort
type: select
label: Sort requested from site
2020-10-23 05:51:06 +00:00
default: 5
options:
2020-10-23 05:51:06 +00:00
5: created
8: seeders
6: size
2: title
- name: type
type: select
label: Order requested from site
2020-10-23 05:51:06 +00:00
default: desc
options:
2020-10-23 05:51:06 +00:00
desc: desc
asc: asc
2017-02-27 18:37:32 +00:00
login:
path: takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
test:
path: browse.php
2017-02-27 18:37:32 +00:00
search:
paths:
- path: browse.php
inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
2020-11-17 03:28:44 +00:00
search: "{{ if .Query.IMDBID }}https://www.imdb.com/title/{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" # for dashboard imdbid search
# 0 both, 1 only active, 2 only dead
incldead: 0
onlyname: 1
onlyname2: true
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"
rows:
selector: table[id!="torrent_ajanlo"] > tbody > tr[id]
fields:
download:
selector: a[href^="download.php/"]
attribute: href
title:
selector: a[id][href^="details.php?"]
attribute: title
description:
selector: font.line
filters:
- name: regexp
args: .*?\|\s*(.*)
category:
selector: a[href^="browse.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
details:
selector: a[id][href^="details.php?"]
attribute: href
imdb:
selector: a[href*="imdb.com/title/tt"]
attribute: href
poster:
selector: a[rel^="prettyPhoto["]
attribute: href
files:
selector: td:nth-child(4)
size:
selector: td:nth-child(6)
grabs:
selector: td:nth-child(7)
filters:
- name: regexp
args: (\d+)
seeders:
selector: td:nth-child(8)
leechers:
selector: td:nth-child(9)
date:
selector: font.line
filters:
- name: split
args: ["|", 0]
- name: replace
args: ["Feltöltve: ", ""]
- name: replace
args: ["Feltöltve : ", ""]
- name: replace
args: ["perce", "minute"]
- name: replace
args: ["órája", "hour"]
- name: replace
args: ["napja", "day"]
- name: replace
args: ["hete", "week"]
- name: timeago
downloadvolumefactor:
text: 1
uploadvolumefactor:
case:
img[src="pic/double.png"]: 2
img[src="pic/doubledouble2.png"]: 4
"*": 1
minimumratio:
text: 1.0
minimumseedtime:
# 2 days (as seconds = 2 x 24 x 60 x 60)
text: 172800
# TBDev & XBTT