219 lines
7.7 KiB
YAML
219 lines
7.7 KiB
YAML
---
|
||
id: 0daykiev
|
||
name: 0day.kiev
|
||
description: "0day.kiev.ua is a UKRAINIAN Private Torrent Tracker for MOVIES / TV / GENERAL"
|
||
language: uk-UA
|
||
type: private
|
||
encoding: windows-1251
|
||
links:
|
||
- https://tracker.0day.community/
|
||
legacylinks:
|
||
- https://tracker.0day.kiev.ua/
|
||
|
||
caps:
|
||
categorymappings:
|
||
- {id: 10, cat: Movies, desc: "Фильмы (Movies)"}
|
||
- {id: 16, cat: Movies/HD, desc: "HD / Фильмы (HD / Movies)"}
|
||
- {id: 30, cat: TV/HD, desc: "HD / Сериалы (HD / TV Shows)"}
|
||
- {id: 27, cat: Movies/HD, desc: "HD / Мультфильмы (HD / Cartoons)"}
|
||
- {id: 17, cat: PC/Games, desc: "Игры / ПК (Games / PC)"}
|
||
- {id: 14, cat: Audio, desc: "Музыка / Аудио (Music / Audio)"}
|
||
- {id: 29, cat: TV, desc: "Мультсериалы (TV Series)"}
|
||
- {id: 11, cat: Movies, desc: "Мультфильмы (Cartoons)"}
|
||
- {id: 28, cat: TV/Documentary, desc: "HD / Документальное (HD / Documentary)"}
|
||
- {id: 18, cat: PC/0day, desc: "Софт / Windows (Software / Windows)"}
|
||
- {id: 19, cat: TV, desc: "TV / Сериалы (TV shows)"}
|
||
- {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
|
||
- 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_activity
|
||
type: info
|
||
label: Account Inactivity
|
||
default: "The tracker has a system for deleting inactive accounts after 6 months from your last visit to the tracker."
|
||
|
||
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:
|
||
# https://tracker.0day.kiev.ua/browse.php?c10=1&c27=1&search=endgame&incldead=1&where=0
|
||
- path: browse.php
|
||
inputs:
|
||
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||
search: "{{ .Keywords }}"
|
||
# 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
|
||
sort: "{{ .Config.sort }}"
|
||
type: "{{ .Config.type }}"
|
||
|
||
keywordsfilters:
|
||
- name: diacritics
|
||
args: replace
|
||
- name: re_replace # S01 to сезон 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: ["(?i)[CС]езони?[\\s:]*(\\d+(?:-\\d+)?).+?(?:[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*(?:[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*(?:[CС]ері[їяй]|Епізоди?)\\s+з\\s*(\\w?)", "S$1E$2 of $3"]
|
||
- name: re_replace
|
||
args: ["(?i)[CС]езони?[\\s:]*(\\d+(?:-\\d+)?).+?(?:[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)(?:[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+(?:[CС]ері[їяй]|Епізоди?)\\s+з\\s*(\\w?)", "E$1 of $2"]
|
||
- name: re_replace
|
||
args: ["(?i)(?:[CС]ері[їяй]|Епізоди?)[\\s:]*(\\d+(?:-\\d+)?)", "E$1"]
|
||
- name: re_replace
|
||
args: ["(?i)(\\d+(?:-\\d+)?)\\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", "WEBDL"]
|
||
- name: re_replace
|
||
args: ["(?i)\\bWEB Rip\\b", "WEBRip"]
|
||
- name: re_replace
|
||
args: ["(?i)\\bWEB DL\\b", "WEBDL"]
|
||
- name: re_replace
|
||
args: ["[\\[\\(\\{<«][\\s\\W]*[\\]\\)\\}>»]", ""]
|
||
- name: re_replace
|
||
args: ["^[\\s&,\\.!\\?\\+\\-_\\|\\/':]+", ""]
|
||
- name: re_replace
|
||
args: ["(?i)^\\(\\s*([SE]\\d+.*?)\\s*\\)[\\s\\/\\|]*(.+)", "$2 $1"]
|
||
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
|
||
args: " +02:00" # EET
|
||
- 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="]
|
||
# engine n/a
|