Jackett/src/Jackett.Common/Definitions/nyoo.yml

78 lines
1.9 KiB
YAML
Raw Normal View History

# Config'd by Quatroking, 07-05-2017
---
site: nyoo
name: Nyoo
description: "Nyoo is a mirror for Nyaa-Pantsu, a Public site for Asian ANIME"
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:
paths:
- path: /search
inputs:
page: "search"
q: "{{ .Query.Keywords}}"
rows:
selector: tr.torrent-info
fields:
title:
selector: td.tr-name a
category:
selector: td.tr-cat div.nyaa-cat a
attribute: href
filters:
- name: split
args: [ "=", -1 ]
details:
selector: td.tr-name a
attribute: href
download:
selector: a[title="Magnet Link"]
attribute: href
size:
selector: td.tr-size
# 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"