Jackett/src/Jackett.Common/Definitions/awesomehd.yml

72 lines
1.7 KiB
YAML
Raw Normal View History

2017-05-11 19:29:12 +00:00
---
site: awesomehd
name: Awesome-HD
description: "An HD tracker"
language: en-us
type: private
encoding: UTF-8
links:
- https://awesome-hd.me/
2017-05-11 19:29:12 +00:00
caps:
categorymappings:
- {id: 1, cat: Movies/HD, desc: "Movies"}
- {id: 2, cat: TV/HD, desc: "TV-Shows"}
modes:
2019-03-08 03:05:34 +00:00
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
2017-05-11 19:29:12 +00:00
login:
path: login.php
method: form
form: form#loginform
2017-05-11 19:29:12 +00:00
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
keeplogged: 1
error:
- selector: form#loginform .warning
2017-05-11 19:29:12 +00:00
test:
path: torrents.php
2017-05-11 19:29:12 +00:00
search:
paths:
- path: torrents.php
2017-05-11 19:29:12 +00:00
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"