From f7e81f9b0f99170d2689217a1c17dd9e38f70638 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sat, 20 Jul 2019 17:42:54 +1200 Subject: [PATCH] add scenepalace a Private tracker. resolves #5617 --- README.md | 1 + .../Definitions/scenepalace.yml | 105 ++++++++++++++++++ 2 files changed, 106 insertions(+) create mode 100644 src/Jackett.Common/Definitions/scenepalace.yml diff --git a/README.md b/README.md index 8c1325ed3..0c2fbb713 100644 --- a/README.md +++ b/README.md @@ -321,6 +321,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * RPTorrents * SceneFZ * SceneHD + * ScenePalace (SP) * SceneReactor * SceneRush * SceneTime diff --git a/src/Jackett.Common/Definitions/scenepalace.yml b/src/Jackett.Common/Definitions/scenepalace.yml new file mode 100644 index 000000000..c9c909736 --- /dev/null +++ b/src/Jackett.Common/Definitions/scenepalace.yml @@ -0,0 +1,105 @@ +--- + site: 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] + + 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"] + + search: + paths: + - path: browse.php + inputs: + $raw: "{{range .Categories}}c{{.}}=1&{{end}}" + search: "{{ .Keywords }}" + incldead: 1 + rows: + selector: table[border="1"][cellpadding=5] > tbody > tr:has(a[href^="download.php?torrent="]) + 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 + args: "src=\\\'(.+?)\\\'" + files: + selector: td:nth-last-child(8) + date: + selector: td:nth-last-child(6) + filters: + - name: replace + args: ["
", ""] + - 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 \ No newline at end of file