Add LosslessClub tracker

This commit is contained in:
kaso17
2017-02-02 16:51:19 +01:00
parent 599ec3647b
commit fb5b5dc99c
3 changed files with 86 additions and 0 deletions

View File

@@ -96,6 +96,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* Kapaki * Kapaki
* Le Paradis Du Net * Le Paradis Du Net
* LinkoManija * LinkoManija
* LosslessClub
* M-Team - TP * M-Team - TP
* Magico * Magico
* Mononoké-BT * Mononoké-BT

View File

@@ -0,0 +1,82 @@
---
site: losslessclub
name: LosslessClub
language: ru-ru
type: private
encoding: windows-1251
links:
- https://losslessclub.com/
caps:
categories:
1: Audio/Lossless
modes:
search: [q]
tv-search: [q, season, ep]
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:
path: /browse.php
inputs:
search: "{{ .Query.Keywords }}"
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:
selector: img.thumbnail
attribute: src
size:
selector: td:nth-child(5)
grabs|optional:
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

View File

@@ -624,6 +624,9 @@
<Content Include="Definitions\kapaki.yml"> <Content Include="Definitions\kapaki.yml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
<Content Include="Definitions\losslessclub.yml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="Definitions\passtheheadphones-scrape.yml" /> <None Include="Definitions\passtheheadphones-scrape.yml" />
<None Include="packages.config"> <None Include="packages.config">
<SubType>Designer</SubType> <SubType>Designer</SubType>