2019-11-24 19:19:33 +00:00
|
|
|
|
---
|
2020-05-11 19:59:28 +00:00
|
|
|
|
id: bitru
|
2020-05-10 20:05:19 +00:00
|
|
|
|
name: BitRu
|
|
|
|
|
description: "BitRu is a RUSSIAN Public Torrent Tracker for MOVIES / TV / GENERAL"
|
2021-09-07 23:09:51 +00:00
|
|
|
|
language: ru-RU
|
2020-05-10 20:05:19 +00:00
|
|
|
|
type: public
|
|
|
|
|
encoding: UTF-8
|
|
|
|
|
links:
|
2021-01-01 06:11:52 +00:00
|
|
|
|
- https://bitru.org/
|
|
|
|
|
legacylinks:
|
|
|
|
|
- http://bitru.org/ # site forces https
|
2019-11-24 19:19:33 +00:00
|
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
|
caps:
|
2020-11-02 03:09:09 +00:00
|
|
|
|
categorymappings:
|
|
|
|
|
- {id: movie, cat: Movies, desc: Movie}
|
|
|
|
|
- {id: serial, cat: TV, desc: Serial}
|
|
|
|
|
- {id: music, cat: Audio, desc: Music}
|
|
|
|
|
- {id: game, cat: PC/Games, desc: Game}
|
|
|
|
|
- {id: soft, cat: PC, desc: Software}
|
|
|
|
|
- {id: literature, cat: Books, desc: Literature}
|
|
|
|
|
- {id: audiobook, cat: Audio/Audiobook, desc: Audiobook}
|
|
|
|
|
- {id: video, cat: Movies, desc: Movies}
|
|
|
|
|
- {id: image, cat: Other, desc: Image}
|
|
|
|
|
- {id: xxx, cat: XXX, desc: xxx}
|
2019-11-24 19:19:33 +00:00
|
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
|
modes:
|
|
|
|
|
search: [q]
|
2022-04-18 08:42:08 +00:00
|
|
|
|
tv-search: [q, season, ep]
|
2020-05-10 20:05:19 +00:00
|
|
|
|
movie-search: [q]
|
|
|
|
|
music-search: [q]
|
2020-10-17 04:50:47 +00:00
|
|
|
|
book-search: [q]
|
2019-11-24 19:19:33 +00:00
|
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
|
settings:
|
2022-04-15 05:00:26 +00:00
|
|
|
|
- name: striprussian
|
|
|
|
|
type: checkbox
|
|
|
|
|
label: Strip Russian Letters
|
|
|
|
|
default: false
|
|
|
|
|
- name: addrussian
|
|
|
|
|
type: checkbox
|
|
|
|
|
label: Add RUSSIAN to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.
|
|
|
|
|
default: false
|
2020-05-10 20:05:19 +00:00
|
|
|
|
- name: adverts
|
2020-12-01 21:28:57 +00:00
|
|
|
|
type: checkbox
|
2020-05-10 20:05:19 +00:00
|
|
|
|
label: Include Advertising
|
2020-12-01 21:28:57 +00:00
|
|
|
|
default: true
|
2020-05-10 20:05:19 +00:00
|
|
|
|
- name: sort
|
|
|
|
|
type: select
|
|
|
|
|
label: Sort requested from site
|
2020-10-23 05:22:00 +00:00
|
|
|
|
default: _
|
2020-05-10 20:05:19 +00:00
|
|
|
|
options:
|
2020-10-23 05:22:00 +00:00
|
|
|
|
_: created
|
|
|
|
|
seeders: seeders
|
|
|
|
|
size: size
|
2019-11-24 19:19:33 +00:00
|
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
|
search:
|
|
|
|
|
paths:
|
|
|
|
|
- path: browse.php
|
|
|
|
|
inputs:
|
|
|
|
|
s: "{{ .Keywords }}"
|
2020-07-17 05:54:51 +00:00
|
|
|
|
sort: "{{ re_replace .Config.sort \"_\" \"\" }}"
|
2020-12-01 21:28:57 +00:00
|
|
|
|
$raw: "{{ if .Config.adverts }}{{ else }}&rek=no{{ end}}"
|
2022-04-18 08:42:08 +00:00
|
|
|
|
keywordsfilters:
|
|
|
|
|
- name: re_replace # S01 or S01E01 to 1 сезон
|
|
|
|
|
args: ["(?i)\\bS0*(\\d+)(?:E0*(\\d+))?\\b", "$1 сезон"]
|
2019-11-24 19:19:33 +00:00
|
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
|
rows:
|
|
|
|
|
selector: table.browse-list > tbody > tr
|
2020-01-16 04:33:16 +00:00
|
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
|
fields:
|
|
|
|
|
category:
|
|
|
|
|
selector: td:nth-child(1) a
|
|
|
|
|
attribute: href
|
|
|
|
|
filters:
|
|
|
|
|
- name: querystring
|
|
|
|
|
args: tmp
|
|
|
|
|
title:
|
|
|
|
|
selector: a[href^="details.php?id="]
|
2022-04-15 05:00:26 +00:00
|
|
|
|
filters:
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["селезень", "selezen"]
|
|
|
|
|
- name: re_replace
|
2022-04-18 08:42:08 +00:00
|
|
|
|
args: ["(?:(\\d+-*\\d*)\\s+[Сс]езоны?:?)\\s+\\((\\d+-*\\d*).*[?\\d]+\\)(.*)(\\((?:[12][0-9]{3}-?){1,}\\))(.*)", "$3 - S$1E$2 - $4 $5"]
|
2022-04-15 05:00:26 +00:00
|
|
|
|
- name: re_replace
|
2022-04-18 08:42:08 +00:00
|
|
|
|
args: ["\\((\\d+-*\\d*).*[?\\d]+\\)(.*)(\\((?:[12][0-9]{3}-?){1,}\\))(.*)", "$2 - E$1 - $3 $4"]
|
|
|
|
|
- name: re_replace
|
|
|
|
|
args: ["(\\([А-Яа-яЁё\\W]+\\))|(^[А-Яа-яЁё\\W\\d]+\\/ )|([а-яА-ЯЁё \\-]+,+)|([а-яА-ЯЁё]+)", "{{ if .Config.striprussian }}{{ else }}$0{{ end }}"]
|
|
|
|
|
- name: re_replace
|
|
|
|
|
args: ["[!?.,:|\\[\\]\\/]", " "]
|
|
|
|
|
- name: re_replace
|
|
|
|
|
args: ["^\\s+-\\s+", " "]
|
2022-04-15 05:00:26 +00:00
|
|
|
|
- name: append
|
|
|
|
|
args: "{{ if .Config.addrussian }} - RUSSIAN{{ else }}{{ end }}"
|
|
|
|
|
- name: replace
|
2022-04-18 08:42:08 +00:00
|
|
|
|
args: ["-Rip", "Rip"]
|
2022-04-15 05:00:26 +00:00
|
|
|
|
- name: replace
|
2022-04-18 08:42:08 +00:00
|
|
|
|
args: ["WEB-DL", "WEBDL"]
|
2022-04-15 05:00:26 +00:00
|
|
|
|
- name: replace
|
|
|
|
|
args: ["WEBDLRip", "WEBDL"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["HDTVRip", "HDTV"]
|
2020-05-10 20:05:19 +00:00
|
|
|
|
details:
|
|
|
|
|
selector: a[href^="details.php?id="]
|
|
|
|
|
attribute: href
|
|
|
|
|
download:
|
|
|
|
|
selector: a[href^="details.php?id="]
|
|
|
|
|
attribute: href
|
|
|
|
|
filters:
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["details", "download"]
|
|
|
|
|
description:
|
|
|
|
|
selector: img[src="styles/images/adwarn.png"]
|
|
|
|
|
optional: true
|
|
|
|
|
attribute: title
|
|
|
|
|
filters:
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["Присутствует реклама", "Contains Adverts"]
|
2020-11-07 23:43:33 +00:00
|
|
|
|
poster:
|
2020-05-10 20:05:19 +00:00
|
|
|
|
selector: a[href^="details.php?id="]
|
|
|
|
|
attribute: onmouseover
|
|
|
|
|
filters:
|
|
|
|
|
- name: regexp
|
|
|
|
|
args: "src=(.*?) "
|
2021-10-20 07:07:04 +00:00
|
|
|
|
date_today:
|
2020-05-10 20:05:19 +00:00
|
|
|
|
# Сегодня в 09:09 от
|
|
|
|
|
# Вчера в 22:47 от
|
2021-08-20 02:40:23 +00:00
|
|
|
|
selector: td:nth-child(2) div.b-info div span:nth-child(1):contains("Сегодня"), td:nth-child(2) div.b-info div span:nth-child(1):contains("Вчера")
|
2020-05-10 20:05:19 +00:00
|
|
|
|
optional: true
|
|
|
|
|
filters:
|
|
|
|
|
- name: regexp
|
|
|
|
|
args: "(.*?) от "
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["Сегодня в", "Today"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["Вчера в", "Yesterday"]
|
2021-10-20 07:07:04 +00:00
|
|
|
|
date_year:
|
2020-05-10 20:05:19 +00:00
|
|
|
|
# 08 ноября 2019 в 23:53 от
|
2021-08-20 02:40:23 +00:00
|
|
|
|
selector: td:nth-child(2) div.b-info div span:nth-child(1):not(:contains("Сегодня")):not(:contains("Вчера"))
|
2020-05-10 20:05:19 +00:00
|
|
|
|
optional: true
|
|
|
|
|
filters:
|
|
|
|
|
- name: regexp
|
|
|
|
|
args: "(.*?) от "
|
|
|
|
|
- name: replace
|
|
|
|
|
args: [" в ", " "]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["января", "January"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["февраля", "February"]
|
|
|
|
|
- name: replace
|
2020-07-17 05:38:17 +00:00
|
|
|
|
args: ["марта", "March"]
|
2020-05-10 20:05:19 +00:00
|
|
|
|
- name: replace
|
|
|
|
|
args: ["апреля", "April"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["мая", "May"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["июня", "June"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["июля", "July"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["августа", "August"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["сентября", "September"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["октября", "October"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["ноября", "November"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["декабря", "December"]
|
2020-10-30 03:02:08 +00:00
|
|
|
|
- name: append
|
|
|
|
|
args: " +03:00" # MSK
|
2020-05-10 20:05:19 +00:00
|
|
|
|
- name: dateparse
|
2020-10-30 03:02:08 +00:00
|
|
|
|
args: "02 January 2006 15:04 -07:00"
|
2021-10-20 07:07:04 +00:00
|
|
|
|
date:
|
|
|
|
|
text: "{{ if or .Result.date_today .Result.date_year }}{{ or .Result.date_today .Result.date_year }}{{ else }}now{{ end }}"
|
2020-05-10 20:05:19 +00:00
|
|
|
|
size:
|
|
|
|
|
selector: td:nth-child(3)
|
|
|
|
|
filters:
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["ТБ", "TB"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["ГБ", "GB"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["МБ", "MB"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["КБ", "KB"]
|
|
|
|
|
seeders:
|
|
|
|
|
selector: td:nth-child(4)
|
|
|
|
|
filters:
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["?", "1"]
|
|
|
|
|
leechers:
|
|
|
|
|
selector: td:nth-child(5)
|
|
|
|
|
filters:
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["?", "0"]
|
|
|
|
|
downloadvolumefactor:
|
|
|
|
|
text: 0
|
|
|
|
|
uploadvolumefactor:
|
|
|
|
|
text: 1
|
2020-01-16 04:33:16 +00:00
|
|
|
|
# engine n/a
|