mirror of https://github.com/Jackett/Jackett
Add NetHD tracker (#828)
This commit is contained in:
parent
e63d98acfc
commit
58987e3e38
|
@ -58,6 +58,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
|||
* MyAnonamouse
|
||||
* myAmity
|
||||
* NCore
|
||||
* NetHD
|
||||
* NextGen
|
||||
* Norbits
|
||||
* PassThePopcorn
|
||||
|
|
|
@ -0,0 +1,97 @@
|
|||
---
|
||||
site: nethd
|
||||
name: NetHD
|
||||
description: "A vietnamese tracker"
|
||||
language: vi-vn
|
||||
encoding: UTF-8
|
||||
links:
|
||||
- http://nethd.org/
|
||||
|
||||
caps:
|
||||
categories:
|
||||
401: Movies # Movies
|
||||
402: Audio # Music
|
||||
403: PC/Games # Game
|
||||
404: PC # Software
|
||||
405: Other # Image
|
||||
406: Books # Book
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
tv-search: [q, season, ep]
|
||||
|
||||
login:
|
||||
path: /takelogin.php
|
||||
method: post
|
||||
inputs:
|
||||
username: "{{ .Config.username }}"
|
||||
password: "{{ .Config.password }}"
|
||||
error:
|
||||
- selector: form#loginform > span.warning
|
||||
test:
|
||||
path: /torrents.php
|
||||
|
||||
ratio:
|
||||
path: /torrents.php
|
||||
selector: div.user-info-extend > dl > dt:contains("Ratio:") + dd
|
||||
search:
|
||||
path: /torrents.php
|
||||
method: post
|
||||
inputs:
|
||||
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
|
||||
search: "{{ .Query.Keywords }}"
|
||||
search_area: 0
|
||||
search_mode: 0
|
||||
spstate: 0
|
||||
inclbookmarked: 0
|
||||
incldead: 1
|
||||
rows:
|
||||
selector: tr.stickyrow
|
||||
fields:
|
||||
title:
|
||||
selector: td.name > div > a.poster-preview[title]
|
||||
attribute: title
|
||||
category:
|
||||
selector: td.category > a
|
||||
attribute: href
|
||||
filters:
|
||||
- name: querystring
|
||||
args: cat
|
||||
details:
|
||||
selector: td.name > div > a.poster-preview[title]
|
||||
attribute: href
|
||||
comments:
|
||||
selector: a[href*="#comments"]
|
||||
attribute: href
|
||||
download:
|
||||
selector: a.bookmark[onclick]
|
||||
attribute: onclick
|
||||
filters:
|
||||
- name: replace
|
||||
args: [",false)", ""]
|
||||
- name: replace
|
||||
args: ["return bookmark(", "download.php?id="]
|
||||
size:
|
||||
selector: td:nth-child(5)
|
||||
seeders:
|
||||
selector: td:nth-child(6)
|
||||
leechers:
|
||||
selector: td:nth-child(7)
|
||||
grabs:
|
||||
selector: td:nth-child(8)
|
||||
date:
|
||||
selector: td:nth-child(4)
|
||||
filters:
|
||||
- name: append
|
||||
args: " +0700"
|
||||
- name: dateparse
|
||||
args: "2006-01-0215:04:05 -0700"
|
||||
downloadvolumefactor:
|
||||
case:
|
||||
"span.label:contains(\"Free\")": "0"
|
||||
"span.label:contains(\"50%\")": "0.5"
|
||||
"*": "1"
|
||||
uploadvolumefactor:
|
||||
case:
|
||||
"span.label:contains(\"2X\")": "2"
|
||||
"*": "1"
|
|
@ -434,6 +434,9 @@
|
|||
<Content Include="Definitions\tenyardtracker.yml">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Definitions\nethd.yml">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<None Include="packages.config">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
|
|
Loading…
Reference in New Issue