Jackett/src/Jackett.Common/Definitions/jpopsuki.yml

112 lines
2.9 KiB
YAML
Raw Normal View History

---
id: jpopsuki
name: JPopsuki
description: "JPopSuki is a Private Torrent Tracker for ASIAN MUSIC"
language: en-us
type: private
encoding: UTF-8
links:
- https://jpopsuki.eu/
caps:
categorymappings:
- {id: 1, cat: Audio, desc: "Album"}
- {id: 2, cat: Audio, desc: "Single"}
- {id: 3, cat: Movies, desc: "PV"}
- {id: 4, cat: Movies/DVD, desc: "DVD"}
- {id: 5, cat: TV, desc: "TV-Music"}
- {id: 6, cat: TV, desc: "TV-Variety"}
- {id: 7, cat: TV, desc: "TV-Drama"}
- {id: 8, cat: Other, desc: "Fansubs"}
- {id: 9, cat: Other, desc: "Pictures"}
- {id: 10, cat: Other/Misc, desc: "Misc"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
music-search: [q, artist]
login:
path: login.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
keeplogged: 1
login: "Log in"
error:
- selector: form#loginform > span.warning, font[color="red"]
test:
path: torrents.php
search:
paths:
- path: ajax.php
inputs:
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}{{ if or .Query.Artist .Keywords }}{{ else }}searchtags=japanese&tags_type=0&{{ end }}"
2020-07-10 20:40:10 +00:00
searchstr: "{{ if .Query.Artist }}{{ .Query.Artist }}{{ else }}{{ .Keywords }}{{ end }}"
# s1 name, s2 year, s3 added, s4 size, s5 snatched, s6 seeders, s7 leechers
order_by: s3
# desc, asc
order_way: desc
disablegrouping: 1
section: torrents
2020-07-10 20:40:10 +00:00
rows:
selector: table#torrent_table > tbody > tr[class^="torrent"]
2020-07-10 20:40:10 +00:00
fields:
2020-07-10 20:40:10 +00:00
category:
selector: a[href*="filter_cat"]
attribute: href
filters:
- name: regexp
args: "%5B(\\d+?)%5D"
download:
selector: a[href^="torrents.php?action=download&id="]
attribute: href
description:
selector: div.tags
title:
2020-07-10 20:40:10 +00:00
selector: td:nth-last-child(7)
remove: span, div.tags, a[title="View Comments"]
filters:
- name: replace
args: [" ()", ""]
- name: replace
args: ["\t", ""]
- name: replace
args: [" / Freeleech!", ""]
details:
selector: a[href^="torrents.php?id="]
attribute: href
poster:
2020-07-10 20:40:10 +00:00
selector: img[src^="static/images/torrents/"]
attribute: src
files:
2020-07-10 20:40:10 +00:00
selector: td:nth-last-child(6)
date:
2020-07-10 20:40:10 +00:00
selector: td:nth-last-child(5)
attribute: title
filters:
- name: append
2020-11-15 03:58:20 +00:00
args: " +00:00" # auto adjusted by site account profile
- name: dateparse
args: "Jan 02 2006, 15:04 -07:00"
size:
2020-07-10 20:40:10 +00:00
selector: td:nth-last-child(4)
grabs:
2020-07-10 20:40:10 +00:00
selector: td:nth-last-child(3)
seeders:
2020-07-10 20:40:10 +00:00
selector: td:nth-last-child(2)
leechers:
2020-07-10 20:40:10 +00:00
selector: td:nth-last-child(1)
downloadvolumefactor:
case:
2020-07-10 20:40:10 +00:00
"strong:contains(\"Freeleech!\")": 0
"*": 1
uploadvolumefactor:
2020-07-10 20:40:10 +00:00
text: 1
# engine n/a