From 723eae7792f8f89a3a5237ff0ecf9ba25cb3e42e Mon Sep 17 00:00:00 2001 From: Joel Calado Date: Sun, 2 Dec 2018 22:20:48 +0000 Subject: [PATCH 1/2] Add SceneRush tracker (#4266) * Add SceneRush tracker * Add SceneRush tracker to supported list --- README.md | 1 + src/Jackett.Common/Definitions/scenerush.yml | 103 +++++++++++++++++++ 2 files changed, 104 insertions(+) create mode 100644 src/Jackett.Common/Definitions/scenerush.yml diff --git a/README.md b/README.md index dadb3555c..a73b8b229 100644 --- a/README.md +++ b/README.md @@ -248,6 +248,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * SceneFZ * SceneHD * SceneReactor + * SceneRush * SceneTime * SDBits * Secret Cinema diff --git a/src/Jackett.Common/Definitions/scenerush.yml b/src/Jackett.Common/Definitions/scenerush.yml new file mode 100644 index 000000000..7e4e8a888 --- /dev/null +++ b/src/Jackett.Common/Definitions/scenerush.yml @@ -0,0 +1,103 @@ +--- + site: scenerush + name: SceneRush + description: "SceneRush is a Portuguese general tracker." + language: pt-PT + type: private + encoding: UTF-8 + links: + - http://www.scene-rush.pt + + caps: + categorymappings: + - {id: 1, cat: PC, desc: "Apps"} + - {id: 5, cat: PC/Games, desc: "PC Games"} + - {id: 6, cat: Movies/HD, desc: "HD"} + - {id: 7, cat: XXX, desc: "XXX"} + - {id: 8, cat: TV/Anime, desc: "ANIME"} + - {id: 9, cat: Audio, desc: "Audio"} + - {id: 11, cat: Console/Xbox 360, desc: "XBOX 360"} + - {id: 12, cat: Console/PSP, desc: "PSP"} + - {id: 13, cat: TV/Documentary, desc: "DOC"} + - {id: 17, cat: TV/HD, desc: "TV-X264"} + - {id: 19, cat: XXX/DVD, desc: "XXX DVD"} + - {id: 20, cat: Movies/DVD, desc: "A.DVD"} + - {id: 21, cat: PC/Mac, desc: "MAC"} + - {id: 32, cat: Movies/BluRay, desc: "BluRay"} + - {id: 33, cat: Console/Wii, desc: "WII"} + - {id: 34, cat: Console/PS3, desc: "PS3"} + - {id: 35, cat: Movies/HD, desc: "A.HD"} + - {id: 36, cat: PC/Phone-Android, desc: "Android"} + - {id: 37, cat: Movies/DVD, desc: "C.DVDR"} + - {id: 38, cat: Movies/Other, desc: "CAM TS"} + - {id: 40, cat: Console/PS4, desc: "PS4"} + - {id: 41, cat: Movies/SD, desc: "BDRIP"} + - {id: 42, cat: Movies/WEBDL, desc: "WEB DL"} + - {id: 43, cat: Books, desc: "EBOOK"} + - {id: 44, cat: TV/Sport, desc: "SPORTS"} + modes: + search: [q] + tv-search: [q] + login: + path: /takelogin.php + method: post + inputs: + username: "{{ .Config.username }}" + password: "{{ .Config.password }}" + error: + - selector: td.embedded:has(h2:contains("failed")+table) + test: + path: /browse.php + + ratio: + path: /browse.php + selector: td[width='60'][style=['text-align:center;'] > span > font + + search: + paths: + - path: /browse.php + method: post + inputs: + $raw: "{{range .Categories}}c{{.}}=1&{{end}}" + search: "{{ .Query.Keywords }}" + incldead: "1" + blah: "0" + rows: + selector: table[cellpadding='5'][width='96%'] > tbody > tr + fields: + title: + selector: td:nth-child(2) > a > b + category: + selector: a[href^="browse.php?cat="] + attribute: href + filters: + - name: querystring + args: cat + details: + selector: a[href^="details.php?id="] + attribute: href + download: + selector: a[href^="download.php?id="] + attribute: href + size: + selector: td:nth-child(8) + grabs: + selector: td:nth-child(10) + seeders: + selector: td:nth-child(11) + leechers: + selector: td:nth-child(12) + date: + selector: td:nth-child(7) + filters: + - name: re_replace + args: ["(\\d{4}-\\d{2}-\\d{2})(\\d{2}:\\d{2}:\\d{2})","$1 $2"] + - name: dateparse + args: "2018-12-30 22:30:31" + downloadvolumefactor: + case: + "i.fg-gold": "0" + "*": "1" + uploadvolumefactor: + case: + "*": "1" From 0c9acc990d785f7fe693176fa20b114a66e21891 Mon Sep 17 00:00:00 2001 From: Jorman Date: Mon, 3 Dec 2018 00:15:49 +0100 Subject: [PATCH 2/2] Added a possibility to show donor/vip torrent (#4265) --- src/Jackett.Common/Definitions/bigtower.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/Jackett.Common/Definitions/bigtower.yml b/src/Jackett.Common/Definitions/bigtower.yml index 8b5b40bd8..f648cd3d2 100644 --- a/src/Jackett.Common/Definitions/bigtower.yml +++ b/src/Jackett.Common/Definitions/bigtower.yml @@ -70,12 +70,23 @@ - {id: 74, cat: Books/Comics, desc: "Manga"} - {id: 87, cat: Books, desc: "Giornali"} - modes: search: [q] tv-search: [q, season, ep] movie-search: [q] + settings: + - name: username + type: text + label: Username + - name: password + type: password + label: Password + - name: donor + type: checkbox + label: Show donor torrent? (Enable if you're a donor) + default: false + login: path: index.php?page=login method: post @@ -98,7 +109,7 @@ options: "0" active: "0" rows: - selector: table > tbody > tr > td > table.lista > tbody > tr:has(a[href^="index.php?page=torrent-details&id="]) + selector: table > tbody > tr > td > table.lista > tbody > tr:has(a[href^="index.php?page=torrent-details&id="]){{if .Config.donor }}{{else}}:not(:has(img[src*="keditbookmarks.png"])){{end}} fields: download: selector: a[href^="index.php?page=torrent-details&id="]