This commit is contained in:
adamwinn 2017-05-11 13:29:12 -06:00 committed by kaso17
parent 4b66273c19
commit 6276789738
3 changed files with 72 additions and 0 deletions

View File

@ -54,6 +54,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* Arche Torrent
* AsianDVDClub
* Audiobook Torrents
* Awesome-HD
* Avistaz
* BakaBT [![(invite needed)][inviteneeded]](#)
* bB

View File

@ -0,0 +1,68 @@
---
site: awesomehd
name: Awesome-HD
description: "An HD tracker"
language: en-us
type: private
encoding: UTF-8
links:
- https://awesome-hd.me
caps:
categorymappings:
- {id: 1, cat: Movies/HD, desc: "Movies"}
- {id: 2, cat: TV/HD, desc: "TV-Shows"}
modes:
searchstr: [q]
settings:
- name: cookie
type: text
label: Cookie
login:
method: cookie
inputs:
cookie: "{{ .Config.cookie }}"
test:
path: index.php
search:
path: torrents.php
inputs:
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}"
searchstr: "{{ .Query.Keywords }}"
page: torrents
rows:
selector: table#torrent_table > tbody > tr.group, tr.torrent, tr.group_torrent:not(.edition_info)
fields:
download:
selector: a[href^="torrents.php?action=download&id="]
attribute: href
optional: true
details:
selector: a[href^="torrents.php?id="]
attribute: href
title:
selector: td:nth-child(3) > a
category:
selector: td:nth-child(2)
# files:
# selector: td:nth-child(4)
date:
selector: td:nth-last-child(5)
size:
selector: td:nth-last-child(4)
grabs:
selector: td:nth-last-child(3)
seeders:
selector: td:nth-last-child(2)
leechers:
selector: td:nth-last-child(1)
downloadvolumefactor:
case:
"*": "1"
uploadvolumefactor:
case:
"*": "1"

View File

@ -683,6 +683,9 @@
<Content Include="Definitions\torrenthr.yml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Definitions\awesomehd.yml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Definitions\rodvd.yml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>