1
0
mirror of https://github.com/Prowlarr/Indexers.git synced 2026-04-25 19:08:06 +01:00
Files
Indexers/definitions/v2/rutor.yml
bakerboy448 938ac2436d jackett indexers as of 584345480b11bdfb52717103e5dd82c30fb2e97b (#93)
jackett indexers as of  9c18d2595fd507571b4a33daa22e59ded62ce04b

jackett indexers as of  eb61795422aac117797fd5a25456abc640fe97b7

jackett indexers as of  80628f59561d8d31c647a7ba630aef3ff8326525

jackett indexers as of  40ef0ca0e59f7f3e9a89894a60582259bb45f9a5

jackett indexers as of  f712af9533a759b0a01b67d46207d2241111d525

jackett indexers as of  0be8639e7a51c124f8d671ba0a81b0e5c3972e16
2021-12-19 00:25:22 -06:00

154 lines
4.7 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
id: 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/ # site does not support https ERR_CONNECTION_REFUSED
- http://rutor.is/ # site does not support https ERR_CONNECTION_REFUSED
- https://rutor.nocensor.work/
legacylinks:
- http://live-rutor.org/ # domain expired 9 Feb 2020
- http://new-rutor.org/ # ERR_NAME_NOT_RESOLVED
- https://rutor.black-mirror.xyz/
- https://rutor.unblocked.casa/
- https://rutor.proxyportal.fun/
- https://rutor.uk-unblock.xyz/
- https://rutor.ind-unblock.xyz/
- https://rutor.unblocked.bar/
- https://rutor.proxyportal.pw/
- https://rutor.uk-unblock.pro/
- https://rutor.root.yt/
- https://rutor.unblocked.rest/
- https://rutor.unblocked.monster/
- https://rutor.nocensor.space/
caps:
# unfortunately RuTor does not display categories anywhere in its search results page :-(
# albeit you can select a single category in its search options
# so I've opted not to support categories
categorymappings:
- {id: 1, cat: Movies, desc: "Movies"}
- {id: 2, cat: TV, desc: "TV"}
- {id: 3, cat: Other, desc: "Other"}
modes:
search: [q]
tv-search: [q]
movie-search: [q]
music-search: [q]
settings:
- 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
- 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.
- name: sort
type: select
label: Sort requested from site (Applies only to Search with Keywords)
default: 0
options:
0: "created desc"
1: "created asc"
2: "seeders desc"
3: "seeders asc"
6: "size desc"
7: "size asc"
8: "title desc"
9: "title asc"
search:
paths:
# http://rutor.info/search/0/0/100/0/gotham%2004x01
- path: "{{ if .Keywords }}search/0/0/100/{{ .Config.sort }}/{{ .Keywords }}/{{ else }}top/{{ end }}"
rows:
selector: tr:has(td:has(a.downgif))
fields:
category:
text: 3
title_is_rus:
selector: td:nth-of-type(2) a[href^="/torrent/"]
filters:
- name: re_replace
args: ["[^А-Яа-яЁё]+", ""]
title:
selector: td:nth-of-type(2) a[href^="/torrent/"]
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"]
- name: append
args: "{{ if .Result.title_is_rus }} - RUSSIAN{{ else }}{{ end }}"
- name: re_replace
args: ["(.+?) - RUSSIAN", "{{ if .Config.addrussian }}$1 - RUSSIAN{{ else }}$1{{ end }}"]
details:
selector: td:nth-of-type(2) a[href^="/torrent/"]
attribute: href
download:
selector: td:nth-of-type(2) a.downgif
attribute: href
magnet:
optional: true
selector: td:nth-of-type(2) a[href^="magnet:?xt="]
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"]
- name: append
args: " 00:00:00 +03:00" # MSK
- name: dateparse
args: "02 Jan 06 15:04:05 -07: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), td:contains(\00a0MB), td:contains(\00a0kB), td:contains(\00a0B)
seeders:
selector: td span.green
leechers:
selector: td span.red
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
# engine n/a