Jackett/src/Jackett.Common/Definitions/scenepalace.yml

140 lines
3.5 KiB
YAML
Raw Normal View History

---
id: scenepalace
name: ScenePalace
description: "ScenePalace (SP) is a Private Torrent Tracker for MOVIES / TV / GENERAL"
language: en-us
type: private
encoding: UTF-8
links:
- https://scenepalace.info/
caps:
categorymappings:
- {id: 14, cat: PC/0day, desc: "Apps"}
- {id: 12, cat: Books/Ebook, desc: "E-BOOKS"}
- {id: 7, cat: Console, desc: "Games/Console"}
- {id: 9, cat: Console/Other, desc: "Games/Handheld"}
- {id: 10, cat: PC/Mac, desc: "Games/Mac"}
- {id: 8, cat: PC/Games, desc: "Games/PC"}
- {id: 1, cat: Other/Misc, desc: "Misc"}
- {id: 2, cat: Movies, desc: "Movies"}
- {id: 16, cat: Movies/Foreign, desc: "Movies/Foriegn Non English"}
- {id: 18, cat: Movies, desc: "Movies/Pre - 2000"}
- {id: 4, cat: Audio, desc: "Music"}
- {id: 11, cat: TV, desc: "Packs"}
- {id: 17, cat: Movies, desc: "Rare"}
- {id: 15, cat: Other, desc: "Torrents needing modded"}
- {id: 5, cat: TV, desc: "TV"}
- {id: 6, cat: XXX, desc: "XXX"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
music-search: [q]
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: sort
type: select
label: Sort requested from site
default: "4"
options:
"4": "created"
"7": "seeders"
"5": "size"
"1": "title"
- name: type
type: select
label: Order requested from site
default: "desc"
options:
"desc": "desc"
"asc": "asc"
2019-12-20 03:03:43 +00:00
login:
path: login.php
method: form
form: form[action="takelogin.php"]
submitpath: takelogin.php
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: td.embedded:has(h2:contains("failed"))
- selector: td.embedded:has(h2:contains("Error"))
test:
path: browse.php
selector: a[href^="./logout.php"]
2020-04-21 21:01:58 +00:00
search:
paths:
- path: browse.php
inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
incldead: 1
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"
2019-12-20 03:03:43 +00:00
rows:
selector: table[border="1"][cellpadding=5] > tbody > tr:has(a[href^="download.php?torrent="])
2019-12-20 03:03:43 +00:00
fields:
title:
selector: a[href^="details.php?id="]
details:
selector: a[href^="details.php?id="]
attribute: href
category:
selector: a[href^="browse.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
download:
selector: a[href^="download.php?torrent="]
attribute: href
banner:
selector: a[href^="details.php?id="]
attribute: onmouseover
filters:
- name: regexp
2020-05-12 23:40:24 +00:00
args: "src=\\\\'(.+?)\\\\'"
- name: replace
args: ["./pic/noposter.png", ""]
files:
selector: td:nth-last-child(8)
date:
selector: td:nth-last-child(6):contains("day")
optional: true
date:
selector: td:nth-last-child(6):not(:contains("day"))
optional: true
filters:
- name: dateparse
args: "Jan 2 2006 03:04 PM"
size:
selector: td:nth-last-child(5)
grabs:
selector: td:nth-last-child(4)
filters:
- name: regexp
args: (\d+)
seeders:
selector: td:nth-last-child(3)
leechers:
selector: td:nth-last-child(2)
downloadvolumefactor:
case:
"img[src$=\"/free.jpg\"]": 0
"*": 1
uploadvolumefactor:
text: 1
2020-01-19 20:51:48 +00:00
# TBDEV,U232,and Btdev (customised)