214 lines
7.6 KiB
YAML
214 lines
7.6 KiB
YAML
---
|
||
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: UTF-8
|
||
links:
|
||
- https://dxp.ru/
|
||
|
||
caps:
|
||
categorymappings:
|
||
- {id: 26, cat: Movies, desc: "Новинки кино"}
|
||
- {id: 18, cat: Other, desc: "Эксклюзивы"}
|
||
- {id: 17, cat: Other/Misc, desc: "VIP"}
|
||
- {id: 25, cat: Other, desc: "OnLine"}
|
||
- {id: 9, cat: TV/Documentary, desc: "Документация"}
|
||
- {id: 10, cat: Audio, desc: "Музыка"}
|
||
- {id: 11, cat: TV, desc: "Сериалы"}
|
||
- {id: 12, cat: Movies/Other, desc: "Мультфильмы"}
|
||
- {id: 13, cat: Movies/SD, desc: "Фильмы XviD"}
|
||
- {id: 14, cat: Movies/HD, desc: "Фильмы HDTV"}
|
||
- {id: 15, cat: Movies/DVD, desc: "Фильмы DVD"}
|
||
- {id: 16, cat: Books, desc: "Книги"}
|
||
- {id: 20, cat: Other, desc: "DEMO"}
|
||
- {id: 21, cat: Other, desc: "Лавка субтитров"}
|
||
- {id: 22, cat: Other, desc: "Картинки"}
|
||
|
||
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: stripcyrillic
|
||
type: checkbox
|
||
label: Strip Cyrillic Letters
|
||
default: false
|
||
- name: addrussiantotitle
|
||
type: checkbox
|
||
label: Add RUS to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.
|
||
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>Торрентов на страницу</b> setting to <b>100</b> on your account profile.
|
||
- name: info_flaresolverr
|
||
type: info_flaresolverr
|
||
|
||
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:
|
||
selectors:
|
||
- selector: a[href^="download.php?id="]
|
||
attribute: href
|
||
|
||
search:
|
||
# https://dxp.ru/torrents.php?search=&sort=4&type=desc&wh=name&incldead=1
|
||
paths:
|
||
- path: torrents.php
|
||
inputs:
|
||
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||
search: "{{ .Keywords }}"
|
||
wh: name
|
||
incldead: 1
|
||
sort: "{{ .Config.sort }}"
|
||
type: "{{ .Config.type }}"
|
||
|
||
keywordsfilters:
|
||
# strip season and/or ep
|
||
- name: re_replace
|
||
args: ["(?i)\\b(?:[SE]\\d{1,4}){1,2}\\b\\s?", ""]
|
||
|
||
rows:
|
||
selector: div.torrent-item
|
||
|
||
fields:
|
||
categorydesc:
|
||
selector: div.torrent-badge
|
||
title:
|
||
selector: h3.full-title
|
||
filters:
|
||
# normalize to SXXEYY format
|
||
- name: re_replace
|
||
args: ["(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)", "S$1E$2 of $3"]
|
||
- name: re_replace
|
||
args: ["(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?", "S$1E$2 of $3"]
|
||
- name: re_replace
|
||
args: ["(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)", "S$1E$2 of $3"]
|
||
- name: re_replace
|
||
args: ["(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))?", "S$1E$2 of $3"]
|
||
- name: re_replace
|
||
args: ["(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)", "S$1E$2 of $3"]
|
||
- name: re_replace
|
||
args: ["(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)", "S$1E$2"]
|
||
- name: re_replace
|
||
args: ["(?i)(\\d+(?:-\\d+)?)\\s*[CС]езоны?.+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))", "S$1E$2"]
|
||
- name: re_replace
|
||
args: ["(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))", "S$1E$2"]
|
||
- name: re_replace
|
||
args: ["(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?)", "S$1"]
|
||
- name: re_replace
|
||
args: ["(?i)(\\d+(?:-\\d+)?)\\s+[CС]езоны?", "S$1"]
|
||
- name: re_replace
|
||
args: ["(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)", "E$1 of $2"]
|
||
- name: re_replace
|
||
args: ["(?i)(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))", "E$1 of $2"]
|
||
- name: re_replace
|
||
args: ["(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)", "E$1 of $2"]
|
||
- name: re_replace
|
||
args: ["(?i)(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)", "E$1"]
|
||
- name: re_replace
|
||
args: ["(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))", "E$1"]
|
||
- name: re_replace
|
||
args: ["(\\([\\p{IsCyrillic}\\W]+\\))|(^[\\p{IsCyrillic}\\W\\d]+\\/ )|([\\p{IsCyrillic} \\-]+,+)|([\\p{IsCyrillic}]+)", "{{ if .Config.stripcyrillic }}{{ else }}$1$2$3$4{{ end }}"]
|
||
- name: re_replace
|
||
args: ["(?i)\\bHDTV[-\\s]?Rip\\b", "HDTV"]
|
||
- name: re_replace
|
||
args: ["(?i)\\bSAT[-\\s]?Rip\\b", "HDTV"]
|
||
- name: re_replace
|
||
args: ["(?i)\\bWEB[-\\s]?DL[-\\s]?Rip\\b", "WEB-DL"]
|
||
- name: re_replace
|
||
args: ["(?i)\\bWEB\\sRip\\b", "WEBRip"]
|
||
- name: re_replace
|
||
args: ["(?i)\\bWEB\\sDL\\b", "WEB-DL"]
|
||
- name: re_replace
|
||
args: ["[\\[\\(\\{<«][\\s\\W]*[\\]\\)\\}>»]", ""]
|
||
- name: re_replace
|
||
args: ["^[\\s&,\\.!\\?\\+\\-_\\|\\/':]+", ""]
|
||
- name: re_replace
|
||
args: ["(?i)^\\(\\s*([SE]\\d+.*?)\\s*\\)[\\s\\/\\|]*(.+)", "$2 $1"]
|
||
- name: append
|
||
args: "{{ if .Config.addrussiantotitle }} RUS{{ else }}{{ end }}"
|
||
details:
|
||
selector: a[href^="content.php?id="]
|
||
attribute: href
|
||
download:
|
||
selector: a[href^="content.php?id="]
|
||
attribute: href
|
||
poster:
|
||
selector: a[href^="content.php?id="] img
|
||
attribute: src
|
||
date:
|
||
selector: span.date-bottom
|
||
attribute: title
|
||
filters:
|
||
- name: replace
|
||
args: ["Обновлен: ", ""]
|
||
- name: replace
|
||
args: ["Добавлен: ", ""]
|
||
- name: append
|
||
args: " +03:00" # MSK
|
||
- name: dateparse
|
||
args: "dd.MM.yyyy HH:mm zzz"
|
||
size:
|
||
selector: div.info-row:has(i.fa-database)
|
||
grabs:
|
||
selector: span.completed-bottom
|
||
seeders:
|
||
selector: span.seeders-bottom
|
||
leechers:
|
||
selector: span.leechers-bottom
|
||
genre:
|
||
selector: div.info-row:has(i.fa-tags)
|
||
description:
|
||
selector: div.info-row:has(i.fa-globe)
|
||
filters:
|
||
- name: append
|
||
args: ": {{ .Result.genre }}"
|
||
downloadvolumefactor:
|
||
case:
|
||
div.category-badge:contains("VIP"): 1 # vip
|
||
"*": 0
|
||
uploadvolumefactor:
|
||
text: 1
|
||
minimumratio:
|
||
text: 0.3
|
||
# engine n/a
|