Jackett/src/Jackett.Common/Definitions/losslessclub.yml

87 lines
1.8 KiB
YAML

---
id: losslessclub
name: LosslessClub
description: "LosslessClub is a Romanian Private site for High Quality Music"
language: ru-ru
type: private
encoding: windows-1251
links:
- https://losslessclub.com/
caps:
categories:
1: Audio/Lossless
modes:
search: [q]
music-search: [q, album, artist, label, year]
login:
path: takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: td.embedded > div.error
test:
path: browse.php
selector: span.bar_user_welcome
search:
paths:
- path: browse.php
inputs:
search: "{{if .Query.Artist}}{{ .Query.Artist }}{{else}}{{ .Keywords }}{{end}}"
t: "all"
rows:
selector: div#releases-table > table > tbody > tr:has(a.browselink)
fields:
title:
selector: a.browselink
category:
text: "1"
details:
selector: a.browselink
attribute: href
download:
selector: a[href^="download.php?id="]
attribute: href
banner:
optional: true
selector: img.thumbnail
attribute: src
size:
selector: td:nth-child(5)
grabs:
optional: true
selector: td:nth-child(6) br + span
seeders:
selector: td:nth-child(6)
remove: br + span
filters:
- name: regexp
args: "([\\.\\d]+)\\s+\\|"
leechers:
selector: td:nth-child(6)
remove: br + span
filters:
- name: regexp
args: "\\|\\s*([\\.\\d]+)"
date:
selector: td:nth-child(7)
remove: a, i
filters:
- name: replace
args: ["by", ""]
- name: dateparse
args: "2/01/06"
downloadvolumefactor:
case:
"*": "1"
uploadvolumefactor:
case:
"*": "1"
description:
selector: div.tag_list_browse