mirror of
https://github.com/Jackett/Jackett
synced 2025-01-01 12:46:23 +00:00
add rptorrents a private tracker. resolves #5368
This commit is contained in:
parent
012fd043f6
commit
e9536bff76
2 changed files with 104 additions and 0 deletions
|
@ -301,6 +301,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
|||
* RocketHD
|
||||
* RoDVD (Cinefiles)
|
||||
* Romanian Metal Torrent (RMT)
|
||||
* RPTorrents
|
||||
* SceneFZ
|
||||
* SceneHD
|
||||
* SceneReactor
|
||||
|
|
103
src/Jackett.Common/Definitions/rptorrents.yml
Normal file
103
src/Jackett.Common/Definitions/rptorrents.yml
Normal file
|
@ -0,0 +1,103 @@
|
|||
---
|
||||
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: 29, cat: XXX, desc: "Movie XXX"}
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
tv-search: [q, season, ep]
|
||||
|
||||
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
|
||||
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"
|
Loading…
Reference in a new issue