Jackett/src/Jackett.Common/Definitions/rptorrents.yml

145 lines
4.1 KiB
YAML

---
site: rptorrents
name: RPTorrents
description: "RPTorrents is a Private tracker for MOVIES / TV / GENERAL"
language: en-us
type: private
encoding: UTF-8
links:
- https://rptorrents.com/
caps:
categorymappings:
- {id: 1, cat: PC/Games, desc: "Games PC"}
- {id: 2, cat: PC/0day, desc: "Apps Windows"}
- {id: 3, cat: PC/Mac, desc: "Apps Mac"}
- {id: 4, cat: PC, desc: "Apps Linux"}
- {id: 34, cat: PC/Phone-Other, desc: "Apps Mobile"}
- {id: 6, cat: TV/Anime, desc: "Movie Cartoons"}
- {id: 7, cat: Movies/WEBDL, desc: "Movies WEB-DL"}
- {id: 32, cat: Movies/UHD, desc: "Movies 4k"}
- {id: 9, cat: Movies/HD, desc: "Movies HD"}
- {id: 10, cat: Movies/3D, desc: "Movies 3D"}
- {id: 11, cat: Movies, desc: "Movies Pack"}
- {id: 12, cat: Movies/BluRay, desc: "Movies Bluray"}
- {id: 33, cat: Movies/BluRay, desc: "Movies Bluray - Rips"}
- {id: 14, cat: TV/HD, desc: "TV HD"}
- {id: 15, cat: TV/WEB-DL, desc: "TV WEB-DL"}
- {id: 16, cat: TV/SD, desc: "TV SD"}
- {id: 17, cat: TV, desc: "TV Pack"}
- {id: 18, cat: TV/Documentary, desc: "TV Documentary"}
- {id: 19, cat: Audio/MP3, desc: "Music MP3"}
- {id: 20, cat: Audio/Lossless, desc: "Music Flac"}
- {id: 23, cat: Audio, desc: "Music Pack"}
- {id: 22, cat: Audio/Video, desc: "Music Video"}
- {id: 35, cat: PC/Games, desc: "Games Pack"}
- {id: 36, cat: XXX, desc: "Movie XXX"}
- {id: 37, cat: Movies/SD, desc: "Movies SD"}
- {id: 38, cat: Books/Ebook, desc: "Books eBooks"}
- {id: 39, cat: Audio/Audiobook, desc: "Books Audio"}
modes:
search: [q]
tv-search: [q, season, ep]
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: sort
type: select
label: Sort requested from site
default: "id"
options:
"id": "created"
"seeders": "seeders"
"size": "size"
"name": "title"
- name: type
type: select
label: Order requested from site
default: "desc"
options:
"desc": "desc"
"asc": "asc"
login:
path: account-login.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
remember: yes
error:
- selector: div.myFrame-caption:contains("Access Denied")
message:
selector: div.myFrame-content
test:
path: torrents-search.php
selector: a[href="account-logout.php"]
search:
paths:
- path: torrents-search.php
inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
# 0 name & desc 1 name 2 desc 3 genre
incldesc: 1
# 0 active 1 incldead 2 onlydead
incldead: 1
# 0 inclfree 1 notfree 2 onlyfree
freeleech: 0
# 0 both 1 localonly 2 extonly
inclexternal: 0
# 0 all 1 English 2 etc...
lang: 0
sort: "{{ .Config.sort }}"
order: "{{ .Config.type }}"
rows:
selector: tr.t-row
fields:
category:
selector: a[href^="torrents.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
title:
selector: a[href^="torrents-details.php?id="]
attribute: title
details:
selector: a[href^="torrents-details.php?id="]
attribute: href
download:
selector: a[href^="download.php?id="]
attribute: href
size:
selector: td:nth-child(4)
date:
selector: td:nth-child(5)
filters:
- name: dateparse
args: "02.01.200615:04:05"
grabs:
selector: td:nth-child(7)
seeders:
selector: td:nth-child(8)
leechers:
selector: td:nth-child(9)
downloadvolumefactor:
case:
img[src="images/free.gif"]: 0
img[src="images/t_extern.png"]: 0
"*": 1
uploadvolumefactor:
case:
img[src="images/t_extern.png"]: 0
"*": 1
# TorrentTrader-Ro 3.0