Add red star torrent. (#3616)

This commit is contained in:
koper89 2018-08-17 12:57:51 +01:00 committed by flightlevel
parent eff17d8fe2
commit 6065e1c576
2 changed files with 122 additions and 0 deletions

View File

@ -227,6 +227,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* PuntoTorrent
* Racing4Everyone (R4E)
* Redacted (PassTheHeadphones)
* Red Star Torrent
* RevolutionTT
* RGU
* RoDVD

View File

@ -0,0 +1,121 @@
---
site: rstorrent
name: RedStarTorrent
description: "Red Star Torrent (RST) is a POLISH Private Torrent Tracker for TV"
language: pl-pl
type: private
encoding: ISO-8859-2
links:
- http://rstorrent.org.pl/
caps:
categorymappings:
- {id: 34, cat: PC/0day, desc: "0-day"}
- {id: 15, cat: Movies/3D, desc: "3D"}
- {id: 23, cat: TV/Anime, desc: "Anime"}
- {id: 1, cat: PC, desc: "Aplikacje"}
- {id: 30, cat: Books/EBook, desc: "Ebooki"}
- {id: 20, cat: Movies/SD, desc: "Filmy/DVD-R"}
- {id: 5, cat: Movies/HD, desc: "Filmy/HD"}
- {id: 19, cat: Movies/SD, desc: "Filmy/XviD"}
- {id: 4, cat: PC/Games, desc: "Gry/PC ISO"}
- {id: 28, cat: Other, desc: "GSM/PDA"}
- {id: 29, cat: Movies, desc: "Kids"}
- {id: 40, cat: Movies/Foreign, desc: "Kino Polska"}
- {id: 6, cat: Audio, desc: "Muzyka"}
- {id: 12, cat: TV, desc: "Paczka"}
- {id: 25, cat: Other, desc: "Rozne"}
- {id: 7, cat: TV, desc: "Seriale - Epizody"}
- {id: 3, cat: TV, desc: "Seriale - Sezony"}
- {id: 35, cat: TV, desc: "SHOW"}
- {id: 26, cat: TV/Sport, desc: "Sport"}
- {id: 36, cat: Other, desc: "Teatr"}
- {id: 27, cat: Audio/Video, desc: "Teledyski"}
- {id: 31, cat: TV/Documentary, desc: "TV Doc"}
- {id: 9, cat: XXX, desc: "XXX"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
login:
path: /takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: td.embedded:has(h2:contains("failed"))
- selector: td.embedded:has(h2:contains("Error"))aD
test:
selector: a[href^="logout.php"]
path: /browse.php
search:
paths:
- path: /browse.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}"
incldead: 1
polish: 0
rows:
selector: table[border="1"][cellpadding="5"] > tbody > tr:has(a[href^="/details.php?id="])
fields:
title:
selector: a[href^="/details.php?id="]
details:
selector: a[href^="/details.php?id="]
attribute: href
category:
selector: a[href^="/browse.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
download:
selector: a[href^="/download.php/"]
attribute: href
description:
optional: true
selector: img[src="/pic/pl.gif"]
attribute: src
filters:
- name: append
args: "Language: polish\n<br>"
- name: prepend
args: {{ .Result.description }}
imdb:
optional: true
selector: a[href^="http://www.imdb.com/title/tt"]
date:
selector: td:nth-child(5)
filters:
- name: append
args: " +00:00"
- name: dateparse
args: "2006-01-0215:04:05 -07:00"
grabs:
selector: td:nth-child(7)
filters:
- name: regexp
args: (\d+)
size:
selector: td:nth-child(6)
seeders:
selector: td:nth-child(8)
filters:
- name: regexp
args: ^(\d+)
leechers:
selector: td:nth-child(8)
filters:
- name: regexp
args: / (\d+)
downloadvolumefactor:
case:
td.darmowy: 0
"*": 1
uploadvolumefactor:
text: "1"