mirror of https://github.com/Jackett/Jackett
Add tracker HDBits (#1235)
This commit is contained in:
parent
a0dcab394a
commit
1bdaccbe95
|
@ -103,7 +103,8 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
|||
* HD4Free
|
||||
* HD-Space
|
||||
* HD-Torrents
|
||||
* HDBC
|
||||
* HD-Bits.com
|
||||
* HDBits
|
||||
* HDClub
|
||||
* HDHome
|
||||
* HDPter
|
||||
|
|
|
@ -0,0 +1,83 @@
|
|||
---
|
||||
site: hdbits
|
||||
name: HDBits
|
||||
description: "Best HD Tracker"
|
||||
language: en-us
|
||||
type: private
|
||||
encoding: UTF-8
|
||||
links:
|
||||
- https://hdbits.org
|
||||
|
||||
caps:
|
||||
categorymappings:
|
||||
- {id: 1, cat: "Movies", desc: "Movie"}
|
||||
- {id: 2, cat: "TV", desc: "TV"}
|
||||
- {id: 3, cat: "TV/Documentary", desc: "Documentary"}
|
||||
- {id: 4, cat: "Audio", desc: "Music"}
|
||||
- {id: 5, cat: "TV/Sport", desc: "Sport"}
|
||||
- {id: 6, cat: "Audio", desc: "Audio Track"}
|
||||
- {id: 7, cat: "XXX", desc: "XXX"}
|
||||
- {id: 8, cat: "Other", desc: "Misc/Demo"}
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
|
||||
login:
|
||||
path: /login
|
||||
method: form
|
||||
form: form
|
||||
inputs:
|
||||
uname: "{{ .Config.username }}"
|
||||
password: "{{ .Config.password }}"
|
||||
error:
|
||||
- selector: table.main:contains("Login Failed!")
|
||||
test:
|
||||
path: my.php
|
||||
|
||||
download:
|
||||
selector: a[href^="/download.php"]
|
||||
|
||||
search:
|
||||
path: browse.php
|
||||
inputs:
|
||||
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}"
|
||||
search: "{{ .Query.Keywords }}"
|
||||
rows:
|
||||
selector: table#torrent-list > tbody > tr:has(a[href^="/details.php?id="])
|
||||
fields:
|
||||
category:
|
||||
selector: a[href^="?cat="]
|
||||
attribute: href
|
||||
filters:
|
||||
- name: querystring
|
||||
args: cat
|
||||
title:
|
||||
selector: td:nth-child(3) a
|
||||
download:
|
||||
selector: a[href^="/download.php"]
|
||||
attribute: href
|
||||
details:
|
||||
selector: a[href^="/details.php?id="]
|
||||
attribute: href
|
||||
grabs:
|
||||
selector: td:nth-child(7) a
|
||||
size:
|
||||
selector: td:nth-child(6)
|
||||
seeders:
|
||||
selector: td:nth-child(8)
|
||||
leechers:
|
||||
selector: td:nth-child(9)
|
||||
date:
|
||||
selector: td:nth-child(5)
|
||||
filters:
|
||||
- name: append
|
||||
args: " ago"
|
||||
downloadvolumefactor:
|
||||
case:
|
||||
"a[title=\"25% Free Leech: only 75% of the download is counted.\"]": "0.25"
|
||||
"a[title=\"50% Free Leech: only half the download is counted.\"]": "0.5"
|
||||
"a[title=\"100% FL: no download is counted.\"]": "0"
|
||||
"*": "1"
|
||||
uploadvolumefactor:
|
||||
case:
|
||||
"*": "1"
|
|
@ -453,6 +453,9 @@
|
|||
<Content Include="Definitions\theshinning.yml">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Definitions\hdbits.yml">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Definitions\torrentbd.yml">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
|
|
Loading…
Reference in New Issue