This commit is contained in:
kaso17 2016-12-08 07:31:40 +01:00
commit c44385e9b7
3 changed files with 70 additions and 0 deletions

View File

@ -77,6 +77,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* The New Retro
* The Shinning
* TehConnection
* TenYardTracker
* Torrent Network
* Torrent Sector Crew
* TorrentBD

View File

@ -0,0 +1,66 @@
---
site: tenyardtracker
name: TenYardTracker
description: "An American football tracker"
language: en-us
encoding: UTF-8
links:
- http://tenyardtracker.com/
caps:
categories:
1: TV # Sports
modes:
search: [q]
login:
path: members.php?action=takelogin
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
#error:
#- path: members.php?action=takelogin
test:
path: my.php
#selector: a[href="members.php?action=logout"]
ratio:
path: browse.php
selector: #status_bar
search:
path: browse.php
inputs:
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}"
search: "{{ .Query.Keywords }}"
rows:
selector: table[border="1"] tr:not(:first-child)
fields:
title:
selector: td:nth-child(2)
download:
selector: a[href^="details.php?id="]
attribute: href
filters:
- name: replace
args: ["details.php?id=", "download.php?torrent="]
details:
selector: a[href^="details.php?id="]
attribute: href
files:
selector: td:nth-child(3)
date:
selector: td:nth-child(5)
size:
selector: td:nth-child(6)
seeders:
selector: td:nth-child(8)
leechers:
selector: td:nth-child(9)
downloadvolumefactor:
case:
"*": "1"
uploadvolumefactor:
case:
"*": "1"

View File

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