From 4d480e204aacd9d7858562b259fd9e56eba37683 Mon Sep 17 00:00:00 2001 From: javeloper1 <38056912+javeloper1@users.noreply.github.com> Date: Fri, 6 Apr 2018 05:09:59 +1000 Subject: [PATCH] Added sukebei.pantsu.cat and sukebei.nyaa.si to Definitions (#2877) * Added sukebei.pantsu.cat and sukebei.nyaa.si to Definitions * Update README.md Added sukebeis to public tracker list --- README.md | 2 + .../Definitions/sukebei-pantsu.yml | 101 ++++++++++++++++++ .../Definitions/sukebeinyaasi.yml | 94 ++++++++++++++++ 3 files changed, 197 insertions(+) create mode 100644 src/Jackett.Common/Definitions/sukebei-pantsu.yml create mode 100644 src/Jackett.Common/Definitions/sukebeinyaasi.yml diff --git a/README.md b/README.md index 3accb7248..3df6b784e 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,8 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * RARBG * RuTor * ShowRSS + * sukebei.Nyaa.si + * sukebei-Pantsu * The Pirate Bay * TNTVillage * Tokyo Toshokan diff --git a/src/Jackett.Common/Definitions/sukebei-pantsu.yml b/src/Jackett.Common/Definitions/sukebei-pantsu.yml new file mode 100644 index 000000000..c38526247 --- /dev/null +++ b/src/Jackett.Common/Definitions/sukebei-pantsu.yml @@ -0,0 +1,101 @@ +#,==========, +#| | | | +#`-./ \.-' - Config'd by Quatroking (05-05-2017), updated by AeonLucid (26-05-2017) - +# `.__.' + +--- + site: sukebei-pantsu + name: Sukebei-pantsu + description: "Sukebei-pantsu is a Public site dedicated to Adult Asian content" + language: en-en + type: public + encoding: UTF-8 + links: + - https://sukebei.pantsu.cat/ + + settings: + - name: cat-id + type: select + label: Category + default: "_" + options: + _: "All categories" + 1_: "Art" + 1_1: "Art - Anime" + 1_2: "Art - Doujinshi" + 1_3: "Art - Games" + 1_4: "Art - Manga" + 1_5: "Art - Pictures" + 2_: "Real Life" + 2_1: "Real Life - Photobooks and Pictures" + 2_2: "Real Life - Videos" + - name: filter-id + type: select + label: Filter + default: "0" + options: + 0: "Show all" + 1: "Filter Remakes" + 2: "Trusted" + 3: "A+" + + caps: + categorymappings: + # Art + - {id: 1_, cat: XXX, desc: "Adult Art"} + - {id: 1_1, cat: XXX, desc: "Adult Anime"} + - {id: 1_2, cat: XXX, desc: "Doujinshi"} + - {id: 1_3, cat: XXX, desc: "Adult Games"} + - {id: 1_4, cat: XXX, desc: "Adult Manga"} + - {id: 1_5, cat: XXX, desc: "Adult Pictures"} + # Real Life + - {id: 2_, cat: XXX, desc: "Adult Real Life"} + - {id: 2_1, cat: XXX, desc: "Adult Photobooks and Pictures"} + - {id: 2_2, cat: XXX, desc: "Adult Videos"} + modes: + search: [q] + tv-search: [q] + + search: + paths: + - path: /search + inputs: + q: "{{ .Query.Keywords }}" + c: "{{ .Config.cat-id }}" + s: "{{ .Config.filter-id }}" + rows: + selector: tr.torrent-info + fields: + title: + selector: td.tr-name a + category: + selector: td:nth-child(1) a + attribute: href + filters: + - name: split + args: [ "=", -1 ] + details: + selector: td.tr-name a + attribute: href + download: + selector: a[title="Magnet Link"] + attribute: href + seeders: + selector: td.tr-se + optional: true + leechers: + selector: td.tr-le + optional: true + grabs: + selector: td.tr-dl + optional: true + date: + selector: td.date-short + filters: + - name: dateparse + args: "2006-01-02T15:04:05Z" + size: + selector: td.tr-size + filters: + - name: replace + args: ["Unknown", "0"] diff --git a/src/Jackett.Common/Definitions/sukebeinyaasi.yml b/src/Jackett.Common/Definitions/sukebeinyaasi.yml new file mode 100644 index 000000000..eb5a6dade --- /dev/null +++ b/src/Jackett.Common/Definitions/sukebeinyaasi.yml @@ -0,0 +1,94 @@ +--- + site: sukebeinyaasi + name: sukebei.nyaa.si + description: "sukebei.nyaa is a Public torrent site focused on adult Eastern Asian media including anime, manga, games and JAV" + language: en-us + type: public + encoding: UTF-8 + links: + - https://sukebei.nyaa.si + + settings: + - name: filter-id + type: select + label: Filter + default: "0" + options: + 0: No filter + 1: No remakes + 2: Trusted only + - name: cat-id + type: select + label: Category + default: "0_0" + options: + 0_0: "All categories" + 1_0: "Art" + 1_1: "Art - Anime" + 1_2: "Art - Doujinshi" + 1_3: "Art - Games" + 1_4: "Art - Manga" + 1_5: "Art - Pictures" + 2_0: "Real Life" + 2_1: "Real Life - Photobooks and Pictures" + 2_2: "Real Life - Videos" + + caps: + categorymappings: + # Art + - {id: 1_0, cat: XXX, desc: "Adult Art"} + - {id: 1_1, cat: XXX, desc: "Adult Anime"} + - {id: 1_2, cat: XXX, desc: "Doujinshi"} + - {id: 1_3, cat: XXX, desc: "Adult Games"} + - {id: 1_4, cat: XXX, desc: "Adult Manga"} + - {id: 1_5, cat: XXX, desc: "Adult Pictures"} + # Real Life + - {id: 2_0, cat: XXX, desc: "Adult Real Life"} + - {id: 2_1, cat: XXX, desc: "Adult Photobooks and Pictures"} + - {id: 2_2, cat: XXX, desc: "Adult Videos"} + modes: + search: [q] + tv-search: [q] + + search: + paths: + - path: / + inputs: + q: "{{ .Query.Keywords}}" + f: "{{ .Config.filter-id }}" + c: "{{ .Config.cat-id }}" + rows: + selector: tr.default,tr.danger,tr.success + fields: + category: + selector: td:nth-child(1) a + attribute: href + filters: + - name: split + args: [ "=", -1 ] + title: + selector: td:nth-child(2) a:last-of-type + details: + selector: td:nth-child(2) a:last-of-type + attribute: href + download: + selector: td:nth-child(3) a[href$=".torrent"] + attribute: href + magnet: + selector: td:nth-child(3) a[href^="magnet:?"] + attribute: href + size: + selector: td:nth-child(4) + date: + selector: td:nth-child(5) + filters: + - name: append + args: " -00" + - name: dateparse + args: "2006-01-02 15:04 -07" + seeders: + selector: td:nth-child(6) + leechers: + selector: td:nth-child(7) + grabs: + selector: td:nth-child(8)