mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
nyaa-pantsu: refresh categories
add config sort options
This commit is contained in:
@@ -34,41 +34,68 @@
|
|||||||
4_: "Literature"
|
4_: "Literature"
|
||||||
4_7: "Literature - English-translated"
|
4_7: "Literature - English-translated"
|
||||||
4_14: "Literature - Non-English-translated"
|
4_14: "Literature - Non-English-translated"
|
||||||
4_14: "Literature - Raw"
|
4_8: "Literature - Raw"
|
||||||
1_: "Software"
|
1_: "Software"
|
||||||
1_1: "Software - Applications"
|
1_1: "Software - Applications"
|
||||||
1_2: "Software - Games"
|
1_2: "Software - Games"
|
||||||
- name: filter-id
|
5_: "Live Action"
|
||||||
|
5_10: "Live Action - Trailers"
|
||||||
|
5_9: "Live Action - English subtitled"
|
||||||
|
5_18: "Live Action - Non-English subtitled"
|
||||||
|
5_11: "Live Action - Raw"
|
||||||
|
6_: "Pictures"
|
||||||
|
6_15: "Pictures - Graphics"
|
||||||
|
6_16: "Pictures - Photos"
|
||||||
|
- name: sort
|
||||||
type: select
|
type: select
|
||||||
label: Filter
|
label: Sort requested from site
|
||||||
default: "0"
|
default: "2"
|
||||||
options:
|
options:
|
||||||
0: "Show all"
|
"2": "created"
|
||||||
1: "Filter Remakes"
|
"5": "seeders"
|
||||||
2: "Trusted"
|
"4": "size"
|
||||||
3: "A+"
|
"1": "title"
|
||||||
|
- name: type
|
||||||
|
type: select
|
||||||
|
label: Order requested from site
|
||||||
|
default: "false"
|
||||||
|
options:
|
||||||
|
"false": "desc"
|
||||||
|
"true": "asc"
|
||||||
|
|
||||||
|
|
||||||
caps:
|
caps:
|
||||||
categorymappings:
|
categorymappings:
|
||||||
# Anime
|
# Anime
|
||||||
- {id: 3_, cat: TV/Anime, desc: "Anime"}
|
- {id: 3_, cat: TV/Anime, desc: "Anime"}
|
||||||
- {id: 3_12, cat: TV/Anime, desc: "Anime music videos"}
|
- {id: 3_12, cat: TV/Anime, desc: "Anime music videos"}
|
||||||
- {id: 3_5, cat: TV/Anime, desc: "English subtitled animes"}
|
- {id: 3_5, cat: TV/Anime, desc: "Anime English subtitled"}
|
||||||
- {id: 3_13, cat: TV/Anime, desc: "Non-english subtitled animes"}
|
- {id: 3_13, cat: TV/Anime, desc: "Anime Non-English subtitled"}
|
||||||
- {id: 3_6, cat: TV/Anime, desc: "Raw animes"}
|
- {id: 3_6, cat: TV/Anime, desc: "Anime Raw"}
|
||||||
# Audio
|
# Audio
|
||||||
- {id: 2_, cat: Audio, desc: "Audio"}
|
- {id: 2_, cat: Audio, desc: "Audio"}
|
||||||
- {id: 2_3, cat: Audio, desc: "Lossless audio"}
|
- {id: 2_3, cat: Audio, desc: "Audio Lossless"}
|
||||||
- {id: 2_4, cat: Audio, desc: "Lossy audio"}
|
- {id: 2_4, cat: Audio, desc: "Audio Lossy"}
|
||||||
# Literature
|
# Literature
|
||||||
- {id: 4_, cat: Books, desc: "Literature"}
|
- {id: 4_, cat: Books, desc: "Literature"}
|
||||||
- {id: 4_7, cat: Books, desc: "Literature english translated"}
|
- {id: 4_7, cat: Books, desc: "Literature English translated"}
|
||||||
- {id: 4_14, cat: Books, desc: "Literature non-english translated"}
|
- {id: 4_14, cat: Books, desc: "Literature non-English translated"}
|
||||||
- {id: 4_8, cat: Books, desc: "Raw literature"}
|
- {id: 4_8, cat: Books, desc: "Literature Raw"}
|
||||||
# Software
|
# Software
|
||||||
- {id: 1_, cat: PC, desc: "Software"}
|
- {id: 1_, cat: PC, desc: "Software"}
|
||||||
- {id: 1_1, cat: PC/ISO, desc: "Applications"}
|
- {id: 1_1, cat: PC/ISO, desc: "Applications"}
|
||||||
- {id: 1_2, cat: PC/Games, desc: "Games"}
|
- {id: 1_2, cat: PC/Games, desc: "Games"}
|
||||||
|
# live action
|
||||||
|
- {id: 5_, cat: TV, desc: "Live Action"}
|
||||||
|
- {id: 5_10, cat: TV, desc: "Live Action Trailers"}
|
||||||
|
- {id: 5_9, cat: TV, desc: "Live Action English subtitled"}
|
||||||
|
- {id: 5_18, cat: TV, desc: "Live Action Non-English subtitled"}
|
||||||
|
- {id: 5_11, cat: TV, desc: "Live Action Raw"}
|
||||||
|
# pictures
|
||||||
|
- {id: 6_, cat: Other, desc: "Pictures"}
|
||||||
|
- {id: 6_15, cat: Other, desc: "Pictures Graphics"}
|
||||||
|
- {id: 6_16, cat: Other, desc: "Pictures Photos"}
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
tv-search: [q]
|
tv-search: [q]
|
||||||
@@ -77,11 +104,16 @@
|
|||||||
paths:
|
paths:
|
||||||
- path: search
|
- path: search
|
||||||
inputs:
|
inputs:
|
||||||
q: "{{ .Query.Keywords }}"
|
q: "{{ .Keywords }}"
|
||||||
c: "{{ .Config.cat-id }}"
|
c: "{{ .Config.cat-id }}"
|
||||||
s: "{{ .Config.filter-id }}"
|
# 0 all 1 remakes 2 trusted 3 A+
|
||||||
|
s: 0
|
||||||
|
sort: "{{ .Config.sort }}"
|
||||||
|
order: "{{ .Config.type }}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: tr.torrent-info
|
selector: tr.torrent-info
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
title:
|
title:
|
||||||
selector: td.tr-name a
|
selector: td.tr-name a
|
||||||
@@ -97,12 +129,18 @@
|
|||||||
download:
|
download:
|
||||||
selector: a[title="Magnet Link"]
|
selector: a[title="Magnet Link"]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
seeders:
|
||||||
|
text: 0
|
||||||
seeders:
|
seeders:
|
||||||
selector: td.tr-se
|
selector: td.tr-se
|
||||||
optional: true
|
optional: true
|
||||||
|
leechers:
|
||||||
|
text: 0
|
||||||
leechers:
|
leechers:
|
||||||
selector: td.tr-le
|
selector: td.tr-le
|
||||||
optional: true
|
optional: true
|
||||||
|
grabs:
|
||||||
|
text: 0
|
||||||
grabs:
|
grabs:
|
||||||
selector: td.tr-dl
|
selector: td.tr-dl
|
||||||
optional: true
|
optional: true
|
||||||
@@ -117,6 +155,6 @@
|
|||||||
- name: replace
|
- name: replace
|
||||||
args: ["Unknown", "0"]
|
args: ["Unknown", "0"]
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
text: "0"
|
text: 0
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
text: "1"
|
text: 1
|
||||||
|
Reference in New Issue
Block a user