Jackett/src/Jackett.Common/Definitions/0daykiev.yml

200 lines
6.3 KiB
YAML
Raw Normal View History

---
id: 0daykiev
name: 0day.kiev
description: "0day.kiev.ua is a RUSSIAN Private Torrent Tracker for MOVIES / TV / GENERAL"
language: ru-RU
type: private
encoding: windows-1251
links:
- https://tracker.0day.kiev.ua/
caps:
categorymappings:
- {id: 10, cat: Movies, desc: "Фильмы (Movies)"}
- {id: 11, cat: TV, desc: "Мультфильмы (Cartoons)"}
- {id: 29, cat: TV, desc: "Мультсериалы (TV Series)"}
- {id: 34, cat: TV/Anime, desc: "Аниме (Anime)"}
- {id: 20, cat: TV/Documentary, desc: "Документальное (Documentary)"}
- {id: 14, cat: Audio, desc: "Музыка / Аудио (Music / Audio)"}
- {id: 15, cat: Audio/Video, desc: "Музыка / Видео (Music / Video)"}
- {id: 16, cat: Movies/HD, desc: "HD / Фильмы (HD / Movies)"}
- {id: 27, cat: TV/HD, desc: "HD / Мультфильмы (HD / Cartoons)"}
- {id: 28, cat: TV/HD, desc: "HD / Документальное (HD / Documentary)"}
- {id: 41, cat: Movies/3D, desc: "HD / 3D видео (HD / 3D video)"}
- {id: 47, cat: Movies, desc: "HDv 0day Team"}
- {id: 17, cat: PC/Games, desc: "Игры / ПК (Games / PC)"}
- {id: 25, cat: Console/XBox 360, desc: "Игры / XBOX360 (Games / XBOX360)"}
- {id: 33, cat: Console/PSP, desc: "Игры / PSP - PS2 (Games / PSP - PS2)"}
- {id: 37, cat: Console/PS3, desc: "Игры / PS3 (Games / PS3)"}
- {id: 18, cat: PC/0day, desc: "Софт / Windows (Software / Windows)"}
- {id: 39, cat: PC/Mac, desc: "Mac OS (Софт / Игры) (Mac OS (Software / Games))"}
- {id: 19, cat: TV, desc: "TV / Сериалы (TV shows)"}
- {id: 30, cat: TV/HD, desc: "HD / Сериалы (HD / TV Shows)"}
- {id: 23, cat: TV, desc: "TV / Передачи (TV / Broadcasts)"}
- {id: 22, cat: TV/Sport, desc: "Спорт (Sports)"}
- {id: 31, cat: Other, desc: "Прочее (Other)"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
music-search: [q]
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: stripcyrillic
type: checkbox
label: Strip Cyrillic Letters
default: true
2020-09-09 05:52:55 +00:00
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
- name: sort
type: select
label: Sort requested from site
2020-10-23 05:22:00 +00:00
default: 4
options:
2020-10-23 05:22:00 +00:00
4: created
7: seeders
5: size
1: title
- name: type
type: select
label: Order requested from site
2020-10-23 05:22:00 +00:00
default: desc
options:
2020-10-23 05:22:00 +00:00
desc: desc
asc: asc
2019-12-11 17:43:04 +00:00
login:
path: takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
returnto: "/browse.php"
error:
- selector: div.maintitle:contains("Ошибка")
message:
selector: div.borderwrap table.embedded
test:
path: browse.php
selector: a[href="/logout.php"]
search:
paths:
2020-05-13 00:17:16 +00:00
# https://tracker.0day.kiev.ua/browse.php?c10=1&c27=1&search=endgame&incldead=1&where=0
- path: browse.php
inputs:
2020-11-17 06:29:02 +00:00
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
2020-09-09 05:52:55 +00:00
# 0 active, 1 incldead, 2 onlydead, 3 gold, 4 noseed, 5 silver
incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}"
# 0 title, 1 title and descr
where: 0
2022-07-19 09:54:39 +00:00
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"
2019-12-11 17:43:04 +00:00
keywordsfilters:
- name: diacritics
args: replace
- name: re_replace # S01 to Cезон 1
args: ["(?i)\\bS0*(\\d+)\\b", "езон $1"]
- name: re_replace # E01 to Серии 1
args: ["(?i)\\bE0*(\\d+)\\b", "ерии $1"]
- name: re_replace # S01E01 to Сезон 1 Серии 1
args: ["(?i)\\bS0*(\\d+)E0*(\\d+)\\b", "езон $1 ерии $2"]
rows:
selector: table > tbody > tr.rowtorrentinfo
fields:
category:
selector: a[href^="browse.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
title:
selector: a[href^="details.php?id="]
filters:
# normalize to SXXEYY format
- name: re_replace
args: ["[\\:\\-\\/\\|]", " "]
- name: re_replace
args: ["(?i)\\bКураж Бамбей\\b", "kurazh"]
- name: re_replace
args: ["(?i)\\bКубик в Кубе\\b", "Kubik"]
- name: re_replace
args: ["(?i)\\bКравец\\b", "Kravec"]
- name: re_replace
args: ["(?i)(.*)\\([CС]езон\\s+(\\d+)\\)\\s+[CС]ери[ия]\\s+(\\d+)\\s+(\\d+)(.*)", "$1 S$2E$3-$4 rus $5"]
- name: re_replace
args: ["(?i)(.*)\\([CС]езон\\s+(\\d+)\\)(.*)", "$1 S$2 rus $3"]
- 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", "WEBDL"]
- name: re_replace
args: ["(?i)\\bWEB Rip\\b", "WEBRip"]
- name: re_replace
args: ["(?i)\\bWEB DL\\b", "WEBDL"]
details:
selector: a[href^="details.php?id="]
attribute: href
download:
selector: a[href^="download.php?id="]
attribute: href
date:
selector: td:nth-child(2) i
filters:
- name: append
2020-11-12 08:42:06 +00:00
args: " +03:00" # MSK
- name: dateparse
args: "yyyy-MM-dd HH:mm:ss zzz"
size:
selector: td:nth-child(4)
filters:
- name: replace
args: ["ТБ", "TB"]
- name: replace
args: ["ГБ", "GB"]
- name: replace
args: ["МБ", "MB"]
- name: replace
args: ["КБ", "KB"]
grabs:
selector: td:nth-child(5)
seeders:
selector: td:nth-child(6)
filters:
- name: split
args: ["|", 0]
leechers:
selector: td:nth-child(6)
filters:
- name: split
args: ["|", 1]
downloadvolumefactor:
case:
img[src="pic/freedownload.gif"]: 0
img[src="pic/silverdownload.gif"]: 0.5
"*": 1
uploadvolumefactor:
text: 1
minimumratio:
text: 0.2
description:
selector: a[href^="details.php?id="]
2020-01-15 06:32:25 +00:00
# engine n/a