media-server-docker-compose/config/prowlarr/Definitions/thesceneplace.yml
Braden Jageman fd77c332fb new stuff
2024-04-07 00:37:31 -04:00

188 lines
5.7 KiB
YAML

---
id: thesceneplace
name: TheScenePlace
description: "TheScenePlace (TSP) is a Private site for TV / MOVIES / GENERAL"
language: en-US
type: private
encoding: UTF-8
links:
- https://www.thesceneplace.com/
legacylinks:
- http://www.thesceneplace.com/ # site is no longer forcing http
caps:
categorymappings:
- {id: 13, cat: PC, desc: "Apps"}
- {id: 15, cat: TV/HD, desc: "TV x264"}
- {id: 16, cat: TV/HD, desc: "TV x265"}
- {id: 17, cat: TV/SD, desc: "TV XVID"}
- {id: 18, cat: TV, desc: "TV PACKS"}
- {id: 25, cat: TV, desc: "TV KIDS"}
- {id: 38, cat: TV/SD, desc: "TV 480p"}
- {id: 20, cat: Movies/HD, desc: "Movies x264"}
- {id: 21, cat: Movies/HD, desc: "Movies x265"}
- {id: 22, cat: Movies/SD, desc: "Movies XVID"}
- {id: 23, cat: Movies, desc: "Movies PACKS"}
- {id: 24, cat: Movies, desc: "Movies KIDS"}
- {id: 35, cat: Movies/UHD, desc: "Movies 4K/UHD"}
- {id: 36, cat: Movies/BluRay, desc: "Movies BluRay"}
- {id: 37, cat: Movies/SD, desc: "Movies 480p"}
- {id: 27, cat: Audio/MP3, desc: "Music MP3"}
- {id: 28, cat: Audio/Lossless, desc: "Music FLAC"}
- {id: 29, cat: Audio, desc: "Music PACKS"}
- {id: 34, cat: Audio, desc: "Music Karaoke "}
- {id: 30, cat: Books/EBook, desc: "eBooks"}
- {id: 32, cat: PC/Games, desc: "Games PC"}
- {id: 33, cat: Console, desc: "Games ROMS"}
- {id: 39, cat: Other, desc: "Misc"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
music-search: [q]
book-search: [q]
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: freeleech
type: checkbox
label: Filter freeleech only
default: false
- name: sort
type: select
label: Sort requested from site
default: 3
options:
3: created
5: seeders
4: size
2: title
- name: type
type: select
label: Order requested from site
default: 2
options:
2: desc
1: asc
- name: info
type: info
label: Results Per Page
default: For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile.
login:
path: index.php?page=login
method: post
inputs:
uid: "{{ .Config.username }}"
pwd: "{{ .Config.password }}"
error:
- selector: tr td span[style="color:#FF0000;"]
test:
path: index.php
selector: a[href="logout.php"]
search:
paths:
- path: index.php
inputs:
page: torrents
search: "{{ .Keywords }}"
category: "{{ range .Categories }}{{.}};{{end}}"
# 0 filename, 1 file&descr, 2 descr, 3 uploaders, 5 gold, 6 silver, 7 bronze
options: 0
# 0 all, 1 active only, 2 dead only
active: 0
order: "{{ .Config.sort }}"
by: "{{ .Config.type }}"
# does not support imdbid search and does not return imdb link in results
keywordsfilters:
- name: re_replace
args: ["\\.", " "]
rows:
selector: "table.lista > tbody > tr:has(a[href^=\"index.php?page=torrent-details&id=\"]):has(td[width=\"30\"]){{ if .Config.freeleech }}:has(img[src=\"images/freeleech.gif\"]){{ else }}{{ end }}{{ if .Config.freeleech }}, table.lista > tbody > tr:has(a[href^=\"index.php?page=torrent-details&id=\"]):has(td[width=\"30\"]):has(img[src=\"images/gold.gif\"]){{ else }}{{ end }}"
fields:
title_torrent:
selector: a[href^="download.php?id="]
attribute: href
filters:
- name: querystring
args: f
- name: htmldecode
- name: re_replace
args: ["(?i)\\.torrent$", ""]
title_text:
selector: a[href^="index.php?page=torrent-details&id="]
category:
selector: a[href^="index.php?page=torrents&category="]
attribute: href
filters:
- name: querystring
args: category
title:
text: "{{ if .Result.title_torrent }}{{ .Result.title_torrent }}{{ else }}{{ .Result.title_text }}{{ end }}"
poster:
selector: a[href^="index.php?page=torrent-details&id="]
attribute: onmouseover
filters:
- name: regexp
args: "src=(.*?) "
- name: replace
args: ["torrentimg/nocover.jpg", ""]
details:
selector: a[href^="index.php?page=torrent-details&id="]
attribute: href
download:
selector: a[href^="download.php?id="]
attribute: href
_uploader:
selector: a[href^="index.php?page=userdetails"]
optional: true
date:
selector: td:has(a[href^="download.php?id="]) ~ td
# auto adjusted by site account profile
filters:
- name: dateparse
args: "dd/MM/yyyy"
seeders:
selector: td:has(a[href^="download.php?id="]) ~ td ~ td
leechers:
selector: td:has(a[href^="download.php?id="]) ~ td ~ td ~ td
grabs:
selector: td:has(a[href^="download.php?id="]) ~ td ~ td ~ td ~ td
size:
selector: "td:has(a[href^=\"download.php?id=\"]) ~ td ~ td ~ td ~ td ~ td{{ if .Result._uploader }} ~ td{{ else }}{{ end }}"
downloadvolumefactor:
case:
img[src="images/freeleech.gif"]: 0
img[src="images/gold.gif"]: 0
img[src="images/silver.gif"]: 0.5
img[src="images/bronze.gif"]: 0.75
"*": 1
uploadvolumefactor:
case:
img[src="images/2x.gif"]: 2
img[src="images/3x.gif"]: 3
img[src="images/4x.gif"]: 4
img[src="images/5x.gif"]: 5
img[src="images/6x.gif"]: 6
img[src="images/7x.gif"]: 7
img[src="images/8x.gif"]: 8
img[src="images/9x.gif"]: 9
img[src="images/10x.gif"]: 10
"*": 1
minimumratio:
text: 1.0
minimumseedtime:
# 7 days (as seconds = 7 x 24 x 60 x 60)
text: 604800
# xbtitFM v3.1.00