2020-03-03 16:28:26 +00:00
|
|
|
|
---
|
2020-05-11 19:59:28 +00:00
|
|
|
|
id: hdreactor
|
2020-05-10 20:05:19 +00:00
|
|
|
|
name: HDReactor
|
|
|
|
|
description: "HDReactor is a RUSSIAN Public Torrent Tracker for MOVIES / TV"
|
|
|
|
|
language: ru-ru
|
|
|
|
|
type: public
|
|
|
|
|
encoding: windows-1251
|
|
|
|
|
links:
|
|
|
|
|
- https://hdreactor.net/
|
|
|
|
|
- https://hdreactor.club/
|
|
|
|
|
- https://hdreactor.su/
|
2020-05-15 21:06:58 +00:00
|
|
|
|
legacylinks:
|
|
|
|
|
- https://hdreactor.guru/
|
2019-11-03 08:09:05 +00:00
|
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
|
caps:
|
|
|
|
|
categorymappings:
|
|
|
|
|
- {id: 2001, cat: Movies/HD, desc: "Кино HD"}
|
|
|
|
|
- {id: 5006, cat: Movies/UHD, desc: "Кино 4K"}
|
|
|
|
|
- {id: 2007, cat: Movies/Other, desc: "Анимация"}
|
|
|
|
|
- {id: 2006, cat: TV/HD, desc: "Сериалы"}
|
|
|
|
|
- {id: 5005, cat: TV/Sport, desc: "Спорт"}
|
|
|
|
|
- {id: 2004, cat: Audio/Lossless, desc: "Музыка"}
|
|
|
|
|
- {id: 2005, cat: PC/Games, desc: "Игры"}
|
|
|
|
|
- {id: 2003, cat: XXX, desc: "18+"}
|
2019-11-03 08:09:05 +00:00
|
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
|
modes:
|
|
|
|
|
search: [q]
|
|
|
|
|
tv-search: [q, season, ep]
|
|
|
|
|
movie-search: [q]
|
|
|
|
|
music-search: [q]
|
2019-11-03 08:09:05 +00:00
|
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
|
settings:
|
|
|
|
|
- name: striprussian
|
|
|
|
|
type: checkbox
|
|
|
|
|
label: Strip Russian Letters
|
|
|
|
|
default: false
|
|
|
|
|
- name: sort
|
|
|
|
|
type: select
|
|
|
|
|
label: Sort requested from site
|
|
|
|
|
default: "date"
|
|
|
|
|
options:
|
|
|
|
|
"date": "created"
|
|
|
|
|
"title": "title"
|
|
|
|
|
- name: type
|
|
|
|
|
type: select
|
|
|
|
|
label: Order requested from site
|
|
|
|
|
default: "desc"
|
|
|
|
|
options:
|
|
|
|
|
"desc": "desc"
|
|
|
|
|
"asc": "asc"
|
2019-12-17 04:13:38 +00:00
|
|
|
|
|
2019-11-03 08:09:05 +00:00
|
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
|
download:
|
|
|
|
|
selector: a[href^="magnet:?xt="]
|
|
|
|
|
attribute: href
|
2019-11-03 08:09:05 +00:00
|
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
|
search:
|
|
|
|
|
# https://hdreactor.net/index.php?do=search&subaction=search&showposts=1&story=2020&catlist[]=2001&catlist[]=2006
|
|
|
|
|
paths:
|
|
|
|
|
- path: index.php
|
|
|
|
|
keywordsfilters:
|
|
|
|
|
- name: diacritics
|
|
|
|
|
args: replace
|
|
|
|
|
- name: re_replace # S01 to Сезон 1
|
|
|
|
|
args: ["(?i)\\bS0*(\\d+)\\b", " Сезон $1"]
|
|
|
|
|
- name: re_replace # S01E01 to Сезон 1 Серии 1
|
|
|
|
|
args: ["(?i)\\bS0*(\\d+)E0*(\\d+)\\b", " Сезон $1 Серии $2"]
|
|
|
|
|
inputs:
|
|
|
|
|
$raw: "{{ range .Categories }}catlist[]={{.}}&{{end}}"
|
|
|
|
|
do: search
|
|
|
|
|
subaction: search
|
|
|
|
|
showposts: 1
|
|
|
|
|
# 0 in article 1 in comments 2 in static pages 3 in article titles
|
|
|
|
|
titleonly: 3
|
|
|
|
|
story: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
|
|
|
|
|
sortby: "{{ .Config.sort }}"
|
|
|
|
|
resorder: "{{ .Config.type }}"
|
2019-11-03 08:09:05 +00:00
|
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
|
rows:
|
|
|
|
|
selector: div.news:contains("Категория:")
|
2019-11-03 08:09:05 +00:00
|
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
|
fields:
|
|
|
|
|
category:
|
|
|
|
|
selector: div.news-content > a
|
|
|
|
|
case:
|
|
|
|
|
a[href$="/4k_uhd/"]: 5006
|
|
|
|
|
a[href$="/1/"]: 2001
|
|
|
|
|
a[href$="/6/"]: 2006
|
|
|
|
|
a[href$="/7/"]: 2007
|
|
|
|
|
a[href$="/4/"]: 2004
|
|
|
|
|
a[href$="/5/"]: 2005
|
|
|
|
|
a[href$="/3/"]: 2003
|
|
|
|
|
a[href$="/sport-hd/"]: 5005
|
|
|
|
|
title:
|
|
|
|
|
selector: h1 > a
|
|
|
|
|
filters:
|
|
|
|
|
# normalize to SXXEYY format
|
|
|
|
|
- name: re_replace
|
|
|
|
|
args: ["[\\.\\,\\:\\-\\/\\|\\[\\]]", " "]
|
|
|
|
|
- name: re_replace
|
|
|
|
|
args: ["(.*)[CСcс]езон\\s*(\\d+)\\s*[CСcс]ери[ия]\\s*(\\d+)\\s*(\\d+)\\s*из\\s*\\d+(.*)", "$1 S$2E$3-$4 rus $5"]
|
|
|
|
|
- name: re_replace
|
|
|
|
|
args: ["(.*)[CСcс]езон\\s*(\\d+)\\s*[CСcс]ери[ия]\\s*(\\d+)\\s*(\\d+)\\s*(.*)", "$1 S$2E$3-$4 rus $5"]
|
|
|
|
|
- name: re_replace
|
|
|
|
|
args: ["(.*)[CСcс]езон\\s*(\\d+)\\s*[CСcс]ери[ия]\\s*(\\d+)\\s*из\\s*\\d+(.*)", "$1 S$2E$3 rus $4"]
|
|
|
|
|
- name: re_replace
|
|
|
|
|
args: ["(.*)[CСcс]езон\\s*(\\d+)(.*)", "$1 S$2 rus $3"]
|
|
|
|
|
- name: re_replace
|
|
|
|
|
args: ["(.*)[CСcс]]ери[ия]\\s*(\\d+)(.*)", "$1 E$2 rus $3"]
|
|
|
|
|
- name: re_replace
|
|
|
|
|
args: ["(\\([А-Яа-яЁё\\W]+\\))|(^[А-Яа-яЁё\\W\\d]+\\/ )|([а-яА-ЯЁё \\-]+,+)|([а-яА-ЯЁё]+)", "{{ if .Config.striprussian }}{{ else }}$1$2$3$4{{ end }}"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["WEBRip", "WEBDL"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["WEB DL", "WEBDL"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["WEBDLRip", "WEBDL"]
|
|
|
|
|
- name: replace
|
|
|
|
|
args: ["HDTVRip", "HDTV"]
|
|
|
|
|
details:
|
|
|
|
|
selector: h1 > a
|
|
|
|
|
attribute: href
|
|
|
|
|
download:
|
|
|
|
|
selector: h1 > a
|
|
|
|
|
attribute: href
|
|
|
|
|
size:
|
|
|
|
|
text: "500 MB"
|
|
|
|
|
seeders:
|
|
|
|
|
text: 1
|
|
|
|
|
leechers:
|
|
|
|
|
text: 1
|
|
|
|
|
date:
|
|
|
|
|
selector: div.news-content
|
|
|
|
|
filters:
|
2020-05-13 00:04:17 +00:00
|
|
|
|
# - 30-10-2019, 14:49]
|
2020-05-10 20:05:19 +00:00
|
|
|
|
- name: regexp
|
|
|
|
|
args: "(\\d{1,2}\\-\\d{2}\\-\\d{4}\\, \\d{1,2}\\:\\d{2})"
|
|
|
|
|
- name: replace
|
|
|
|
|
args: [",", ""]
|
|
|
|
|
- name: dateparse
|
|
|
|
|
args: "2-01-2006 15:04"
|
|
|
|
|
downloadvolumefactor:
|
|
|
|
|
text: 0
|
|
|
|
|
uploadvolumefactor:
|
|
|
|
|
text: 1
|
2020-03-11 07:48:38 +00:00
|
|
|
|
# DataLife
|