2017-10-28 21:49:49 +00:00
|
|
|
|
---
|
|
|
|
|
site: rutor
|
|
|
|
|
name: RuTor
|
|
|
|
|
description: "RuTor is a RUSSIAN Public site for MOVIES / TV / GENERAL"
|
|
|
|
|
language: ru-ru
|
|
|
|
|
type: public
|
|
|
|
|
encoding: UTF-8
|
|
|
|
|
links:
|
|
|
|
|
- http://rutor.info/
|
2019-01-31 21:55:50 +00:00
|
|
|
|
- http://new-rutor.org/
|
|
|
|
|
- http://live-rutor.org/
|
2017-10-28 21:49:49 +00:00
|
|
|
|
|
|
|
|
|
caps:
|
|
|
|
|
# unfortunately RuTor does not display categories anywhere in its search results page :-(
|
|
|
|
|
# albeit you can select a single category in its search options
|
2017-11-16 06:17:40 +00:00
|
|
|
|
# so I've opted not to support categories
|
2017-10-28 21:49:49 +00:00
|
|
|
|
categorymappings:
|
2017-11-16 06:08:49 +00:00
|
|
|
|
- {id: 4, cat: TV, desc: "TV Shows"}
|
2017-10-28 21:49:49 +00:00
|
|
|
|
|
|
|
|
|
modes:
|
|
|
|
|
search: [q]
|
|
|
|
|
|
|
|
|
|
settings:
|
|
|
|
|
- name: method
|
|
|
|
|
type: select
|
|
|
|
|
label: Search Method
|
|
|
|
|
default: "0"
|
|
|
|
|
options:
|
|
|
|
|
"0" : "Full Phrase"
|
|
|
|
|
"1" : "All Words"
|
|
|
|
|
"2" : "Any Words"
|
|
|
|
|
- name: info
|
|
|
|
|
type: info
|
|
|
|
|
label: A note about RuTor
|
|
|
|
|
default: RuTor does not display categories in its search results page. This definition is probably only suitable for Jackett Dashboard Manual searches.
|
|
|
|
|
|
|
|
|
|
search:
|
|
|
|
|
paths:
|
|
|
|
|
# http://rutor.info/search/0/0/000/0/gotham%2004x01
|
2019-01-31 21:55:50 +00:00
|
|
|
|
- path: "{{ if .Keywords }}search/0/0/{{ .Config.method }}00/0/{{ .Keywords }}/{{else}}top/{{end}}"
|
2017-10-28 21:49:49 +00:00
|
|
|
|
rows:
|
2019-01-31 21:55:50 +00:00
|
|
|
|
selector: tr:has(td:has(a.downgif))
|
2017-10-28 21:49:49 +00:00
|
|
|
|
fields:
|
|
|
|
|
title:
|
2019-01-31 21:55:50 +00:00
|
|
|
|
selector: td:nth-of-type(2) a[href^="/torrent/"]
|
2017-11-16 06:08:49 +00:00
|
|
|
|
filters:
|
|
|
|
|
- name: re_replace
|
|
|
|
|
args: [".+\\/\\s([^а-яА-я\\/]+)\\s.*\\[(?:S*(\\d+))(?:x*(\\d+-*\\d*).*)*\\].*\\)\\s+(.+)\\s+(?:\\||от)\\s*(.+)","$1 - S$2E$3 - rus - $4 - $5"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["E -", "E01-99 -"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["Кураж-Бамбей", "kurazh"]
|
2017-10-28 21:49:49 +00:00
|
|
|
|
details:
|
2019-01-31 21:55:50 +00:00
|
|
|
|
selector: td:nth-of-type(2) a[href^="/torrent/"]
|
2017-10-28 21:49:49 +00:00
|
|
|
|
attribute: href
|
|
|
|
|
download:
|
2019-01-31 21:55:50 +00:00
|
|
|
|
selector: td:nth-of-type(2) a.downgif
|
2017-10-28 21:49:49 +00:00
|
|
|
|
attribute: href
|
|
|
|
|
magnet:
|
2019-01-31 21:55:50 +00:00
|
|
|
|
optional: true
|
|
|
|
|
selector: td:nth-of-type(2) a[href^="magnet:?xt="]
|
2017-10-28 21:49:49 +00:00
|
|
|
|
attribute: href
|
|
|
|
|
date:
|
|
|
|
|
# 27 Окт 17
|
|
|
|
|
selector: td:nth-of-type(1)
|
|
|
|
|
filters:
|
|
|
|
|
# replace white spaces
|
|
|
|
|
- name: re_replace
|
|
|
|
|
args: ["[\\s]+", " "]
|
|
|
|
|
# replace month abbreviations
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["Янв", "Jan"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["Фев", "Feb"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["Мар", "Mar"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["Апр", "Apr"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["Май", "May"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["Июн", "Jun"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["Июл", "Jul"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["Авг", "Aug"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["Сен", "Sep"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["Окт", "Oct"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["Ноя", "Nov"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["Дек", "Dec"]
|
|
|
|
|
# Moscow +3 UTC
|
|
|
|
|
- name: append
|
|
|
|
|
args: " 00:00:00 +03:00"
|
|
|
|
|
- name: dateparse
|
2017-11-16 06:53:05 +00:00
|
|
|
|
args: "02 Jan 06 15:04:05 -07:00"
|
2017-10-28 21:49:49 +00:00
|
|
|
|
# some results don't have comments which throws off td count. So we go fishing for the following fields
|
|
|
|
|
size:
|
|
|
|
|
optional: true
|
|
|
|
|
selector: td:contains(\00a0GB)
|
|
|
|
|
size:
|
|
|
|
|
optional: true
|
|
|
|
|
selector: td:contains(\00a0MB)
|
|
|
|
|
size:
|
|
|
|
|
optional: true
|
|
|
|
|
selector: td:contains(\00a0kB)
|
|
|
|
|
size:
|
|
|
|
|
optional: true
|
|
|
|
|
selector: td:contains(\00a0B)
|
|
|
|
|
seeders:
|
2019-01-31 21:55:50 +00:00
|
|
|
|
selector: td span.green
|
2017-10-28 21:49:49 +00:00
|
|
|
|
leechers:
|
2019-01-31 21:55:50 +00:00
|
|
|
|
selector: td span.red
|
2017-10-28 21:49:49 +00:00
|
|
|
|
downloadvolumefactor:
|
|
|
|
|
text: "0"
|
|
|
|
|
uploadvolumefactor:
|
|
|
|
|
text: "1"
|