add rptscene a private site. resolves #5368

This commit is contained in:
Garfield69 2024-02-15 09:08:02 +13:00
parent 73010f0858
commit f689bcb13c
1 changed files with 168 additions and 0 deletions

View File

@ -0,0 +1,168 @@
---
id: rptscene
name: RPTScene
description: "RPTScene is a Private tracker for MOVIES / TV / GENERAL"
language: en-US
type: private
encoding: UTF-8
links:
- https://rptscene.xyz/
caps:
categorymappings:
- {id: 4, cat: PC, desc: "Apps - Linux"}
- {id: 3, cat: PC/Mac, desc: "Apps - Mac"}
- {id: 34, cat: PC/Mobile-Other, desc: "Apps - Mobile"}
- {id: 2, cat: PC/0day, desc: "Apps - Windows"}
- {id: 39, cat: Audio/Audiobook, desc: "Books - Audio"}
- {id: 43, cat: Audio/Audiobook, desc: "Books - Audio-Ro"}
- {id: 38, cat: Books/EBook, desc: "Books - eBooks"}
- {id: 42, cat: Books/EBook, desc: "Books - eBooks-Ro"}
- {id: 35, cat: PC/Games, desc: "Games - Pack"}
- {id: 1, cat: PC/Games, desc: "Games - PC"}
- {id: 10, cat: Movies/3D, desc: "Movies - 3D"}
- {id: 49, cat: Movies/3D, desc: "Movies - 3D-Ro"}
- {id: 32, cat: Movies/UHD, desc: "Movies - 4k"}
- {id: 47, cat: Movies/UHD, desc: "Movies - 4k-Ro"}
- {id: 12, cat: Movies/BluRay, desc: "Movies - Bluray"}
- {id: 51, cat: Movies/BluRay, desc: "Movies - Bluray-Ro"}
- {id: 6, cat: TV/Anime, desc: "Movies - Cartoons"}
- {id: 45, cat: TV/Anime, desc: "Movies - Cartoons-Ro"}
- {id: 40, cat: Movies/DVD, desc: "Movies - DVD"}
- {id: 53, cat: Movies/DVD, desc: "Movies - DVD-Ro"}
- {id: 33, cat: Movies/HD, desc: "Movies - Full-HD"}
- {id: 52, cat: Movies/HD, desc: "Movies - Full-HD-Ro"}
- {id: 9, cat: Movies/HD, desc: "Movies - HD"}
- {id: 48, cat: Movies/HD, desc: "Movies - HD-Ro"}
- {id: 11, cat: Movies, desc: "Movies - Pack"}
- {id: 50, cat: Movies, desc: "Movies - Pack-Ro"}
- {id: 37, cat: Movies/HD, desc: "Movies - SD"}
- {id: 44, cat: Movies/HD, desc: "Movies - SD-Ro"}
- {id: 7, cat: Movies/WEB-DL, desc: "Movies - WEB-DL"}
- {id: 46, cat: Movies/WEB-DL, desc: "Movies - WEB-DL-Ro"}
- {id: 41, cat: Movies/SD, desc: "Movies - Xvid"}
- {id: 54, cat: Movies/SD, desc: "Movies - Xvid-Ro"}
- {id: 36, cat: XXX, desc: "Movies - XXX"}
- {id: 20, cat: Audio/Lossless, desc: "Music - Flac"}
- {id: 19, cat: Audio/MP3, desc: "Music - MP3"}
- {id: 23, cat: Audio, desc: "Music - Pack"}
- {id: 22, cat: Audio/Video, desc: "Music - Video"}
- {id: 18, cat: TV/Documentary, desc: "TV - Documentary"}
- {id: 59, cat: TV/Documentary, desc: "TV - Documentary-Ro"}
- {id: 14, cat: TV/HD, desc: "TV - HD"}
- {id: 55, cat: TV/HD, desc: "TV - HD-Ro"}
- {id: 17, cat: TV, desc: "TV- Pack"}
- {id: 58, cat: TV, desc: "TV- Pack-Ro"}
- {id: 16, cat: TV/SD, desc: "TV - SD"}
- {id: 57, cat: TV/SD, desc: "TV - SD-Ro"}
- {id: 15, cat: TV/WEB-DL, desc: "TV - WEB-DL"}
- {id: 56, cat: TV/WEB-DL, desc: "TV - WEB-DL-Ro"}
modes:
search: [q]
tv-search: [q, season, ep, imdbid, tmdbid, genre]
movie-search: [q, imdbid, tmdbid, genre]
music-search: [q]
book-search: [q]
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
- name: sort
type: select
label: Sort requested from site
default: added
options:
added: 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: login/submit
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: div.text-center > b:contains("The specified username or password was incorrect.")
test:
path: /
selector: a[href$="/message?type=inbox"]
search:
paths:
- path: search/browse
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
# keywords are OR, but using row filter andmatch would prevent imdb/tmdb/genre searches.
keyword: "{{ if or .Query.IMDBID .Query.TMDBID .Query.Genre }}{{ or .Query.IMDBID .Query.TMDBID .Query.Genre }}{{ else }}{{ .Keywords }}{{ end }}"
# 0 active, 1 incldead, 2 onlydead
incldead: 1
# 0 all, 1 notfree, 2 freeleech
freeleech: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}"
lang: 0
sort: "{{ .Config.sort }}"
order: "{{ .Config.type }}"
rows:
selector: table.table-striped > tbody > tr
fields:
category:
selector: a[href*="/search/browse?cat="]
attribute: href
filters:
- name: querystring
args: cat
title:
selector: a[href*="/torrent?id="] > b
details:
selector: a[href*="/torrent?id="]
attribute: href
download:
selector: a[href*="/download?id="]
attribute: href
genre:
selector: div.row > div > em > span
filters:
- name: replace
args: ["Genre: ", ""]
description:
text: "{{ .Result.genre }}"
date:
selector: div.row > div:last-child > em:last-child
filters:
- name: timeago
size:
selector: td:nth-child(5)
grabs:
selector: td:nth-child(6)
seeders:
selector: td:nth-child(7)
leechers:
selector: td:nth-child(8)
downloadvolumefactor:
case:
span.badge-success: 0
"*": 1
uploadvolumefactor:
text: 1
minimumratio:
text: 1.0
# M-BiTsy PDO