From 813c44906597e8338aa57296bddb63fc5f24c96b Mon Sep 17 00:00:00 2001 From: Quatroking Date: Mon, 8 May 2017 14:33:29 +0200 Subject: [PATCH] Adding Nyoo (#1343) * Removed Nyaa.se due to its closure, added Nyaa mirro Nyaa-Pantsu to replace it * VS15 project file so that the filelist is correct * Adding Nyoo support * Adding Nyoo support --- README.md | 1 + src/Jackett/Definitions/nyoo.yml | 75 ++++++++++++++++++++++++++++++++ src/Jackett/Jackett.csproj | 1 + 3 files changed, 77 insertions(+) create mode 100644 src/Jackett/Definitions/nyoo.yml diff --git a/README.md b/README.md index ed3aebcf6..1136a7a35 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * KickAssTorrent (kat.how clone) * LimeTorrents * Nyaa-Pantsu + * Nyoo * RARBG * ShowRSS * Sky torrents diff --git a/src/Jackett/Definitions/nyoo.yml b/src/Jackett/Definitions/nyoo.yml new file mode 100644 index 000000000..3bd2d9c0d --- /dev/null +++ b/src/Jackett/Definitions/nyoo.yml @@ -0,0 +1,75 @@ +# Config'd by Quatroking, 07-05-2017 +--- + site: nyoo + name: Nyoo + language: en-en + type: public + encoding: UTF-8 + links: + - https://nyoo.moe + + settings: [] + + caps: + categorymappings: + # Anime + - {id: 3_12, cat: TV/Anime, desc: "Anime music videos"} + - {id: 3_5, cat: TV/Anime, desc: "English subtitled animes"} + - {id: 3_13, cat: TV/Anime, desc: "Non-english subtitled animes"} + - {id: 3_6, cat: TV/Anime, desc: "Raw animes"} + # Audio + - {id: 2_3, cat: Audio, desc: "Lossless audio"} + - {id: 2_4, cat: Audio, desc: "Lossy audio"} + # Literature + - {id: 4_7, cat: Books, desc: "Literature english translated"} + - {id: 4_14, cat: Books, desc: "Literature non-english translated"} + - {id: 4_8, cat: Books, desc: "Raw literature"} + # Software + - {id: 1_1, cat: PC/ISO, desc: "Applications"} + - {id: 1_2, cat: PC/Games, desc: "Games"} + + modes: + search: [q] + tv-search: [q, season, ep] + + + search: + path: /search + inputs: + page: "search" + q: "{{ .Query.Keywords}}" + rows: + selector: tr.tlistrow + fields: + title: + selector: td.tlistname a + category: + selector: td.tlisticon a + attribute: href + filters: + - name: split + args: [ "=", -1 ] + details: + selector: td.tlistname a + attribute: href + download: + selector: a[title="Magnet Download"] + attribute: href + size: + selector: td.tlistsize + # seeders: + # text: 0 + # seeders: + # selector: td.tlistsn + # optional: true + # leechers: + # text: 0 + # leechers: + # selector: td.tlistln + # optional: true + # grabs: + # selector: td.tlistdn + downloadvolumefactor: + text: "0" + uploadvolumefactor: + text: "1" diff --git a/src/Jackett/Jackett.csproj b/src/Jackett/Jackett.csproj index e79088d09..660dbf37d 100644 --- a/src/Jackett/Jackett.csproj +++ b/src/Jackett/Jackett.csproj @@ -758,6 +758,7 @@ PreserveNewest + PreserveNewest