Jackett/src/Jackett.Common/Definitions/rudub.yml

173 lines
4.7 KiB
YAML
Raw Normal View History

---
id: rudub
name: RUDUB
description: "RUDUB (ex-BaibaKoTV) is a RUSSIAN Semi-Private Torrent Tracker for TV"
language: ru-RU
type: semi-private
encoding: windows-1251
links:
2022-03-12 17:58:26 +00:00
- http://rudub.tv/ # https is unsupported ERR_CONNECTION_REFUSED
2022-08-22 20:21:56 +00:00
- http://rudub.co/ # https is unsupported ERR_CONNECTION_REFUSED
2020-07-12 23:00:05 +00:00
legacylinks:
- http://baibako.tv/
2020-10-24 07:43:14 +00:00
- https://baibako.tv/
2022-03-12 17:58:26 +00:00
- http://bko.baibako.tv/
caps:
categorymappings:
- {id: 1, cat: TV, desc: "TV"}
modes:
search: [q]
tv-search: [q, season, ep]
allowrawsearch: true
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: striprussian
type: checkbox
label: Strip Russian Letters
default: false
- 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
login:
path: takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: div.login2
test:
path: /
selector: a[href="logout.php"]
search:
paths:
2022-03-27 23:31:04 +00:00
# http://rudub.tv/browse.php?search=&incldead=1&sort=4&type=desc
- path: browse.php
inputs:
search: "{{ .Keywords }}"
# 0 incldead, 1 active, 2 onlydead, 3 gold, 4 seedfree
incldead: "{{ if .Config.freeleech }}3{{ else }}0{{ end }}"
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"
keywordsfilters:
# strip season episode as the site does not appear to be able to find any results with anything other than the series title
- name: re_replace
args: ["(?i)( S\\d+E\\d+)", ""]
- name: re_replace
args: ["(?i)( S\\d+)", ""]
- name: re_replace
args: ["(?i)( E\\d+)", ""]
2019-12-13 04:14:58 +00:00
rows:
2022-03-27 23:31:04 +00:00
selector: div.card__torlist__browse_2
2019-12-13 04:14:58 +00:00
fields:
category:
text: 1
title:
selector: a[href^="details.php?id="]
# Лучше звоните Солу (Better Call Saul) Сезон 6 Серии 01-02 (WEBRip XviD) (Обновляемая) (Золото)
filters:
# normalize to SXXEYY format
- name: re_replace
args: ["([CСcс]езон\\s+((?:\\d+)(?:-\\d+)?)\\s+[CСcс]ери[ия]\\s+((?:\\d+)(?:-\\d+)?))", " S$2E$3 "]
- name: re_replace
args: ["([CСcс]ери[ия]?\\s+((?:\\d+)(?:-\\d+)?))", " E$2 "]
- name: replace
args: [" (Золото)", ""] # remove gold tag
- name: re_replace
args: ["[()]", " "] # remove the brackets around the English title and attributes
- name: replace
args: ["-Rip", "Rip"]
- name: replace
args: ["WEB-DL", "WEBDL"]
- name: replace
args: ["WEBRip", "WEBDL"]
- name: replace
args: ["WEBDLRip", "WEBDL"]
- name: replace
args: ["HDTVRip", "HDTV"]
- name: replace
args: ["BD720p", "BD 720p"]
- name: replace
args: ["HD720p", "HD 720p"]
- name: replace
args: ["HDR720p", "HD 720p"]
- name: replace
args: ["BD1080p", "BD 1080p"]
- name: replace
args: ["HD1080p", "HD 1080p"]
- name: replace
args: ["HDR1080p", "HD 1080p"]
- name: re_replace
args: ["(\\([А-Яа-яЁё\\W]+\\))|(^[А-Яа-яЁё\\W\\d]+\\/ )|([а-яА-ЯЁё \\-]+,+)|([а-яА-ЯЁё]+)", "{{ if .Config.striprussian }}{{ else }}$1$2$3$4{{ end }}"]
- name: append
args: " - rus"
- name: trim # clean up any leading and trailing spaces left over from above editing
details:
selector: a[href^="details.php?id="]
attribute: href
download:
selector: a[href^="download.php?id="]
attribute: href
date:
2022-03-27 23:31:04 +00:00
# 2022-03-28 01:28:07
selector: li[title="Дата"]
filters:
- name: append
args: " +03:00" # MSK
- name: dateparse
args: "yyyy-MM-dd HH:mm:ss zzz"
files:
2022-03-27 23:31:04 +00:00
selector: li[title="Файлов"]
size:
2022-03-27 23:31:04 +00:00
selector: li[title="Размер"]
seeders:
2022-03-27 23:31:04 +00:00
selector: li[title="Активность"]
filters:
2022-03-27 23:31:04 +00:00
- name: regexp
args: (\d+)\s+\d+
leechers:
2022-03-27 23:31:04 +00:00
selector: li[title="Активность"]
filters:
2022-03-27 23:31:04 +00:00
- name: regexp
args: \d+\s+(\d+)
grabs:
2022-03-27 23:31:04 +00:00
selector: li[title="Завершено"]
downloadvolumefactor:
case:
"a[href^=\"details.php?id=\"]:contains(\"(Золото)\")": 0
"*": 1
uploadvolumefactor:
text: 1
minimumratio:
text: 0.3
2020-01-15 19:26:44 +00:00
# engine n/a