Skip to content

Commit

Permalink
add thesceneplace a private site. resolves #11433
Browse files Browse the repository at this point in the history
  • Loading branch information
garfield69 committed Mar 30, 2021
1 parent e76a233 commit 7479b52
Show file tree
Hide file tree
Showing 2 changed files with 159 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -509,6 +509,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht
* TheAudioScene
* TheEmpire (TE) [![(invite needed)][inviteneeded]](#)
* TheLeachZone
* TheScenePlace (TSP)
* TJUPT
* TLFBits [![(invite needed)][inviteneeded]](#)
* ToTheGlory (TTG)
Expand Down
158 changes: 158 additions & 0 deletions src/Jackett.Common/Definitions/thesceneplace.yml
@@ -0,0 +1,158 @@
---
id: thesceneplace
name: TheScenePlace
description: "TheScenePlace (TSP) is a Private site for TV / MOVIES / GENERAL"
language: en
type: private
encoding: UTF-8
links:
- https://www.thesceneplace.com/

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/Anime, desc: "TV KIDS"}
- {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: TV/Anime, desc: "Movies KIDS"}
- {id: 35, cat: Movies/UHD, desc: "Movies 4K/UHD"}
- {id: 36, cat: Movies/BluRay, desc: "Movies BluRay"}
- {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"}

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

rows:
selector: "table.lista > tbody > tr:has(a[href^=\"index.php?page=torrent-details&id=\"]){{ if .Config.freeleech }}:has(img[src=\"images/freeleech.gif\"]){{ else }}{{ end }}"

fields:
category:
selector: a[href^="index.php?page=torrents&category="]
attribute: href
filters:
- name: querystring
args: category
title:
selector: a[onmouseover][href^="index.php?page=torrent-details&id="]
poster:
selector: a[onmouseover][href^="index.php?page=torrent-details&id="]
attribute: onmouseover
filters:
- name: regexp
args: "src=(.*?) "
- name: replace
args: ["torrentimg/nocover.jpg", ""]
details:
selector: a[onmouseover][href^="index.php?page=torrent-details&id="]
attribute: href
download:
selector: a[href^="download.php?id="]
attribute: href
date:
selector: td:nth-last-child(8)
filters:
- name: append
args: " +00:00" # auto adjusted by site account profile
- name: dateparse
args: "02/01/2006 -07:00"
seeders:
selector: td:nth-last-child(7)
leechers:
selector: td:nth-last-child(6)
grabs:
selector: td:nth-last-child(5)
filters:
- name: replace
args: ["---", "0"]
size:
selector: td:nth-last-child(4)
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:
text: 1
minimumratio:
text: 1.0
minimumseedtime:
# 3 days (as seconds = 3 x 24 x 60 x 60)
text: 259200
# xbtitFM v3.1.00

0 comments on commit 7479b52

Please sign in to comment.