Add TranceTraffic tracker

This commit is contained in:
kaso17 2016-12-27 19:13:01 +01:00
parent 77fd3e206b
commit 82fd53226c
3 changed files with 74 additions and 0 deletions

View File

@ -101,6 +101,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* TorrentShack
* Torrent-Syndikat
* ToTheGlory
* TranceTraffic
* TransmitheNet
* Tspate
* TV Chaos UK

View File

@ -0,0 +1,70 @@
---
site: trancetraffic
name: TranceTraffic
language: en-us
encoding: UTF-8
links:
- https://www.trancetraffic.com
caps:
categories:
1: Audio
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:has(h2:contains("failed"))
test:
path: browse.php
search:
path: browse.php
inputs:
search: "{{ .Query.Keywords }}"
rows:
selector: table.main + table > tbody > tr:has(a[href^="details.php?id="])
fields:
download:
selector: a[href^="download.php/"]
attribute: href
title:
selector: a[href^="details.php?id="]
details:
selector: a[href^="details.php?id="]
attribute: href
category:
text: 1
date:
selector: td:nth-child(6)
filters:
- name: append
args: " +00:00"
- name: dateparse
args: "2006-01-0215:04:05 -07:00"
seeders:
selector: td:nth-child(9)
leechers:
selector: td:nth-child(10)
grabs:
selector: td:nth-child(8)
filters:
- name: regexp
args: ([\d,]+)
files:
selector: td:nth-child(4)
size:
selector: td:nth-child(7)
downloadvolumefactor:
case:
"*": "1"
uploadvolumefactor:
case:
"*": "1"

View File

@ -480,6 +480,9 @@
<Content Include="Definitions\hdclub.yml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Definitions\trancetraffic.yml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="packages.config">
<SubType>Designer</SubType>
</None>