Jackett/src/Jackett.Common/Definitions/dxp.yml

147 lines
3.9 KiB
YAML
Raw Normal View History

---
id: dxp
name: DXP
description: "Deaf Experts (DXP) is a RUSSIAN Semi-Private Torrent Tracker for MOVIES / TV with Russian Subtitles."
language: ru-ru
type: semi-private
encoding: windows-1251
links:
- https://dxp.ru/
caps:
categorymappings:
- {id: 14, cat: Movies/HD, desc: "Фильмы HDTV"}
- {id: 15, cat: Movies/DVD, desc: "Фильмы DVD"}
- {id: 13, cat: Movies/SD, desc: "Фильмы XviD"}
- {id: 12, cat: Movies/Other, desc: "Мультфильмы"}
- {id: 9, cat: TV/Documentary, desc: "Документальные"}
- {id: 11, cat: TV, desc: "Сериалы"}
- {id: 10, cat: Audio, desc: "Музыка"}
- {id: 16, cat: Books, desc: "Книги"}
- {id: 22, cat: Other, desc: "Картинки"}
- {id: 1, cat: PC, desc: "Приложения Windows"}
- {id: 3, cat: PC, desc: "Приложения Unix/Linux"}
- {id: 4, cat: PC/Mac, desc: "Приложения Mac"}
- {id: 2, cat: PC/Mobile-Other, desc: "Приложения PDA"}
- {id: 5, cat: PC/Games, desc: "Игры PC"}
- {id: 23, cat: PC/Games, desc: "Игры Unix/Linux"}
- {id: 6, cat: Console/PS3, desc: "Игры PlayStation 3"}
- {id: 7, cat: Console/XBox, desc: "Игры X-Box"}
- {id: 8, cat: Console/PSP, desc: "Игры PSP"}
- {id: 18, cat: Other, desc: "Эксклюзивы"}
- {id: 21, cat: Other, desc: "Лавка субтитров"}
- {id: 20, cat: Other, desc: "DEMO"}
- {id: 17, cat: Other/Misc, desc: "VIP"}
- {id: 24, cat: Other/Misc, desc: "SuperVIP"}
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: sort
type: select
label: Sort requested from site
2020-10-23 06:38:42 +00:00
default: 4
options:
2020-10-23 06:38:42 +00:00
4: created
7: seeders
5: size
1: title
- name: type
type: select
label: Order requested from site
2020-10-23 06:38:42 +00:00
default: desc
options:
2020-10-23 06:38:42 +00:00
desc: desc
asc: asc
2019-12-16 01:09:40 +00:00
login:
path: takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
login: submit
error:
- selector: div.error
test:
path: index.php
selector: a[href="logout.php"]
download:
selector: a[href^="download.php?id="]
attribute: href
search:
# https://dxp.ru/torrents.php?search=&sort=4&type=desc
# https://dxp.ru/torrents.php?search=&cat=0&incldead=1
paths:
- path: torrents.php
inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
incldead: 1
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"
rows:
selector: table#loading-table tbody#highlighted tr:has(a[href^="torrents.php?cat="]), table#loading-table tbody#highlighted tr:has(a[href^="details.php?id="])
after: 1
2019-12-16 01:09:40 +00:00
fields:
category:
selector: a[href^="torrents.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
download:
selector: a[href^="torrent-"]
attribute: href
title:
selector: a[href^="torrent-"]
details:
selector: a[href^="torrent-"]
attribute: href
date:
selector: i
filters:
- name: append
args: " +03:00" # MSK
- name: dateparse
args: "2006-01-02 15:04:05 -07:00"
files:
selector: td:nth-child(4)
size:
selector: td:nth-child(6)
seeders:
selector: td:nth-child(7)
filters:
- name: split
args: ["|", 0]
leechers:
selector: td:nth-child(7)
filters:
- name: split
args: ["|", 1]
downloadvolumefactor:
case:
a[href="torrents.php?cat=17"]: 1 # vip
a[href="torrents.php?cat=24"]: 1 # super vip
"*": 0
uploadvolumefactor:
text: 1
minimumratio:
text: 0.3
2020-01-17 18:52:11 +00:00
# engine n/a