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
This commit is contained in:
Quatroking
2017-05-08 14:33:29 +02:00
committed by flightlevel
parent 03549b97aa
commit 813c449065
3 changed files with 77 additions and 0 deletions

View File

@@ -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

View File

@@ -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"

View File

@@ -758,6 +758,7 @@
<Content Include="Definitions\anidex.yml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="Definitions\nyoo.yml" />
<None Include="Definitions\redacted-scrape.yml" />
<Content Include="Definitions\torrentz2.yml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>