Add tracker ClassiX (#1176)

This commit is contained in:
adamwinn 2017-03-22 13:03:10 -06:00 committed by kaso17
parent 789930498e
commit 3354be659b
3 changed files with 68 additions and 0 deletions

View File

@ -69,6 +69,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* Cinematik
* Cinemageddon
* CinemaZ
* Classix
* CZTeam
* DanishBits
* DataScene

View File

@ -0,0 +1,64 @@
---
site: classix
name: Classix
description: "Classic movie tracker"
language: en-us
type: private
encoding: UTF-8
links:
- http://classix-unlimited.co.uk/
caps:
categorymappings:
- {id: 1, cat: Movies, desc: "Movies"}
modes:
search: [q]
login:
path: account-login.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: div.myContent:contains("Access Denied")
test:
path: index.php
download:
selector: a[href^="download.php?id="]
search:
path: torrents-search.php
inputs:
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}"
search: "{{ .Query.Keywords }}"
rows:
selector: table > tbody > tr:has(a[href^="torrents.php?cat="])
fields:
category:
text: 1
title:
selector: td:nth-child(3)
download:
selector: a[href^="torrents-details.php?id="]
attribute: href
filters:
- name: replace
args: ["torrents-details.php?id=", "download.php?id="]
details:
selector: a[href^="torrents-details.php?id="]
attribute: href
size:
selector: td:nth-child(7)
seeders:
selector: td:nth-child(8)
leechers:
selector: td:nth-child(9)
downloadvolumefactor:
case:
"*": "1"
uploadvolumefactor:
case:
"*": "1"

View File

@ -474,6 +474,9 @@
<Content Include="Definitions\cinematik.yml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Definitions\classix.yml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Definitions\cinemageddon.yml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>