2017-05-06 13:27:32 +00:00
|
|
|
#,==========,
|
|
|
|
#| | | |
|
2017-05-28 16:13:14 +00:00
|
|
|
#`-./ \.-' - Config'd by Quatroking (05-05-2017), updated by AeonLucid (26-05-2017) -
|
2017-05-06 13:27:32 +00:00
|
|
|
# `.__.'
|
|
|
|
|
|
|
|
---
|
|
|
|
site: nyaa-pantsu
|
|
|
|
name: Nyaa-pantsu
|
2017-10-04 05:05:10 +00:00
|
|
|
description: "Nyaa-pantsu is a Public site for dedicated to Asian ANIME"
|
2017-05-06 13:27:32 +00:00
|
|
|
language: en-en
|
|
|
|
type: public
|
|
|
|
encoding: UTF-8
|
|
|
|
links:
|
|
|
|
- https://nyaa.pantsu.cat/
|
|
|
|
|
2017-05-28 16:13:14 +00:00
|
|
|
settings:
|
|
|
|
- name: cat-id
|
2017-06-03 13:08:01 +00:00
|
|
|
type: select
|
|
|
|
label: Category
|
|
|
|
default: "_"
|
|
|
|
options:
|
|
|
|
_: "All categories"
|
|
|
|
3_: "Anime"
|
|
|
|
3_12: "Anime - Anime Music Video"
|
|
|
|
3_5: "Anime - English-translated"
|
|
|
|
3_13: "Anime - Non-English-translated"
|
|
|
|
3_6: "Anime - Raw"
|
|
|
|
2_: "Audio"
|
|
|
|
2_3: "Audio - Lossless"
|
|
|
|
2_4: "Audio - Lossy"
|
|
|
|
4_: "Literature"
|
|
|
|
4_7: "Literature - English-translated"
|
|
|
|
4_14: "Literature - Non-English-translated"
|
|
|
|
4_14: "Literature - Raw"
|
|
|
|
1_: "Software"
|
|
|
|
1_1: "Software - Applications"
|
|
|
|
1_2: "Software - Games"
|
|
|
|
- name: filter-id
|
|
|
|
type: select
|
|
|
|
label: Filter
|
|
|
|
default: "0"
|
|
|
|
options:
|
|
|
|
0: "Show all"
|
|
|
|
1: "Filter Remakes"
|
|
|
|
2: "Trusted"
|
|
|
|
3: "A+"
|
2017-05-06 13:27:32 +00:00
|
|
|
|
|
|
|
caps:
|
|
|
|
categorymappings:
|
|
|
|
# Anime
|
2017-06-03 13:08:01 +00:00
|
|
|
- {id: 3_, cat: TV/Anime, desc: "Anime"}
|
2017-05-06 13:27:32 +00:00
|
|
|
- {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
|
2017-06-03 13:08:01 +00:00
|
|
|
- {id: 2_, cat: Audio, desc: "Audio"}
|
2017-05-06 13:27:32 +00:00
|
|
|
- {id: 2_3, cat: Audio, desc: "Lossless audio"}
|
|
|
|
- {id: 2_4, cat: Audio, desc: "Lossy audio"}
|
|
|
|
# Literature
|
2017-06-03 13:08:01 +00:00
|
|
|
- {id: 4_, cat: Books, desc: "Literature"}
|
2017-05-06 13:27:32 +00:00
|
|
|
- {id: 4_7, cat: Books, desc: "Literature english translated"}
|
2017-06-03 13:08:01 +00:00
|
|
|
- {id: 4_14, cat: Books, desc: "Literature non-english translated"}
|
|
|
|
- {id: 4_8, cat: Books, desc: "Raw literature"}
|
2017-05-06 13:27:32 +00:00
|
|
|
# Software
|
2017-06-03 13:08:01 +00:00
|
|
|
- {id: 1_, cat: PC, desc: "Software"}
|
2017-05-06 13:27:32 +00:00
|
|
|
- {id: 1_1, cat: PC/ISO, desc: "Applications"}
|
|
|
|
- {id: 1_2, cat: PC/Games, desc: "Games"}
|
|
|
|
modes:
|
|
|
|
search: [q]
|
|
|
|
tv-search: [q]
|
|
|
|
|
|
|
|
search:
|
2017-10-23 17:55:22 +00:00
|
|
|
paths:
|
|
|
|
- path: /search
|
2017-05-06 13:27:32 +00:00
|
|
|
inputs:
|
2017-05-28 16:13:14 +00:00
|
|
|
q: "{{ .Query.Keywords }}"
|
|
|
|
c: "{{ .Config.cat-id }}"
|
2017-06-03 13:08:01 +00:00
|
|
|
s: "{{ .Config.filter-id }}"
|
2017-05-06 13:27:32 +00:00
|
|
|
rows:
|
|
|
|
selector: tr.torrent-info
|
|
|
|
fields:
|
|
|
|
title:
|
2017-06-03 13:08:01 +00:00
|
|
|
selector: td.tr-name a
|
2017-05-06 13:27:32 +00:00
|
|
|
category:
|
|
|
|
selector: td:nth-child(1) a
|
|
|
|
attribute: href
|
|
|
|
filters:
|
|
|
|
- name: split
|
|
|
|
args: [ "=", -1 ]
|
|
|
|
details:
|
2017-06-03 13:08:01 +00:00
|
|
|
selector: td.tr-name a
|
2017-05-06 13:27:32 +00:00
|
|
|
attribute: href
|
|
|
|
download:
|
2017-06-03 13:08:01 +00:00
|
|
|
selector: a[title="Magnet Link"]
|
2017-05-06 13:27:32 +00:00
|
|
|
attribute: href
|
2017-05-17 07:25:52 +00:00
|
|
|
seeders:
|
2017-06-03 13:08:01 +00:00
|
|
|
selector: td.tr-se
|
2017-05-17 07:25:52 +00:00
|
|
|
optional: true
|
|
|
|
leechers:
|
2017-06-03 13:08:01 +00:00
|
|
|
selector: td.tr-le
|
2017-05-17 07:25:52 +00:00
|
|
|
optional: true
|
|
|
|
grabs:
|
2017-06-03 13:08:01 +00:00
|
|
|
selector: td.tr-dl
|
2017-05-17 07:25:52 +00:00
|
|
|
optional: true
|
|
|
|
date:
|
2017-05-25 09:28:25 +00:00
|
|
|
selector: td.date-short
|
2017-05-17 07:25:52 +00:00
|
|
|
filters:
|
|
|
|
- name: dateparse
|
|
|
|
args: "2006-01-02T15:04:05Z"
|
2017-05-06 13:27:32 +00:00
|
|
|
size:
|
2017-06-03 13:08:01 +00:00
|
|
|
selector: td.tr-size
|
2017-05-17 07:25:52 +00:00
|
|
|
filters:
|
|
|
|
- name: replace
|
2017-10-04 05:05:10 +00:00
|
|
|
args: ["Unknown", "0"]
|