Jackett/src/Jackett.Common/Definitions/redstartorrent.yml

126 lines
3.5 KiB
YAML
Raw Normal View History

2018-08-17 11:57:51 +00:00
---
site: rstorrent
2018-08-17 11:57:51 +00:00
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/ # site does not support https NET::ERR_CERT_AUTHORITY_INVALID
2018-08-17 11:57:51 +00:00
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]
2020-04-21 21:01:58 +00:00
music-search: [q]
2018-08-17 11:57:51 +00:00
login:
path: takelogin.php
2018-08-17 11:57:51 +00:00
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: td.embedded:has(h2:contains("failed"))
- selector: td.embedded:has(h2:contains("Error"))
2018-08-17 11:57:51 +00:00
test:
selector: a[href^="logout.php"]
path: browse.php
2018-08-17 11:57:51 +00:00
search:
paths:
- path: browse.php
2018-08-17 11:57:51 +00:00
inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
2018-08-17 11:57:51 +00:00
incldead: 1
polish: 0
2018-08-17 11:57:51 +00:00
rows:
selector: table[border="1"][cellpadding="5"] > tbody > tr:has(a[href^="/details.php?id="])
2018-08-17 11:57:51 +00:00
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
2018-08-17 11:57:51 +00:00
description:
optional: true
selector: img[src="/pic/pl.gif"]
attribute: src
filters:
- name: append
args: "Language: polish\n<br>"
- name: prepend
2019-01-02 11:59:06 +00:00
args: "{{ .Result.description }}"
2018-08-17 11:57:51 +00:00
imdb:
optional: true
selector: a[href*="www.imdb.com/title/tt"]
2018-08-17 11:57:51 +00:00
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
# engine tbc