2017-04-15 08:45:10 +00:00
|
|
|
---
|
|
|
|
site: nethd
|
|
|
|
name: NetHD
|
2019-02-09 04:55:59 +00:00
|
|
|
description: "NetHD (VietTorrent) is a VIETNAMESE Private Torrent Tracker for HD MOVIES / TV"
|
2017-04-15 08:45:10 +00:00
|
|
|
language: vi-vn
|
|
|
|
type: semi-private
|
|
|
|
encoding: UTF-8
|
|
|
|
links:
|
2020-03-08 22:28:43 +00:00
|
|
|
- http://nethd.org/ # site does not support https NET::ERR_CERT_AUTHORITY_INVALID
|
2017-04-15 08:45:10 +00:00
|
|
|
|
|
|
|
caps:
|
|
|
|
categorymappings:
|
|
|
|
- {id: 401, cat: Movies, desc: "Movies"}
|
|
|
|
- {id: 402, cat: Audio, desc: "Music"}
|
|
|
|
- {id: 403, cat: PC/Games, desc: "Game"}
|
|
|
|
- {id: 404, cat: PC, desc: "Software"}
|
|
|
|
- {id: 405, cat: Other, desc: "Image"}
|
|
|
|
- {id: 406, cat: Books, desc: "Book"}
|
|
|
|
|
|
|
|
modes:
|
|
|
|
search: [q]
|
|
|
|
tv-search: [q, season, ep, imdbid]
|
|
|
|
movie-search: [q, imdbid]
|
|
|
|
|
2019-12-17 19:45:14 +00:00
|
|
|
settings:
|
|
|
|
- name: username
|
|
|
|
type: text
|
|
|
|
label: Username
|
|
|
|
- name: password
|
|
|
|
type: password
|
|
|
|
label: Password
|
|
|
|
- name: sort
|
|
|
|
type: select
|
|
|
|
label: Sort requested from site
|
|
|
|
default: "added"
|
|
|
|
options:
|
|
|
|
"added": "created"
|
|
|
|
"seeders": "seeders"
|
|
|
|
"size": "size"
|
|
|
|
"name": "title"
|
|
|
|
- name: type
|
|
|
|
type: select
|
|
|
|
label: Order requested from site
|
|
|
|
default: "desc"
|
|
|
|
options:
|
|
|
|
"desc": "desc"
|
|
|
|
"asc": "asc"
|
|
|
|
|
2017-04-15 08:45:10 +00:00
|
|
|
login:
|
2019-02-12 19:18:17 +00:00
|
|
|
path: takelogin.php
|
2017-04-15 08:45:10 +00:00
|
|
|
method: post
|
|
|
|
inputs:
|
|
|
|
username: "{{ .Config.username }}"
|
|
|
|
password: "{{ .Config.password }}"
|
|
|
|
error:
|
|
|
|
- selector: form#loginform > span.warning
|
|
|
|
test:
|
2019-02-12 19:18:17 +00:00
|
|
|
path: torrents.php
|
2017-04-15 08:45:10 +00:00
|
|
|
|
|
|
|
ratio:
|
2019-02-12 19:18:17 +00:00
|
|
|
path: torrents.php
|
2017-04-15 08:45:10 +00:00
|
|
|
selector: div.user-info-extend > dl > dt:contains("Ratio:") + dd
|
2019-12-17 19:45:14 +00:00
|
|
|
|
2017-04-15 08:45:10 +00:00
|
|
|
search:
|
2017-10-23 17:55:22 +00:00
|
|
|
paths:
|
2019-02-12 19:18:17 +00:00
|
|
|
- path: torrents.php
|
2017-04-15 08:45:10 +00:00
|
|
|
inputs:
|
2019-12-17 19:45:14 +00:00
|
|
|
$raw: "{{ range .Categories }}cat={{.}}&{{end}}"
|
|
|
|
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
|
2017-04-15 08:45:10 +00:00
|
|
|
search_area: "{{ if .Query.IMDBID }}4{{else}}0{{end}}"
|
|
|
|
search_mode: 0
|
|
|
|
spstate: 0
|
|
|
|
inclbookmarked: 0
|
|
|
|
incldead: 1
|
2019-12-17 19:45:14 +00:00
|
|
|
sort: "{{ .Config.sort }}"
|
|
|
|
type: "{{ .Config.type }}"
|
|
|
|
|
2017-04-15 08:45:10 +00:00
|
|
|
rows:
|
|
|
|
selector: tr:has(td.name)
|
2017-11-13 17:10:55 +00:00
|
|
|
filters:
|
|
|
|
- name: andmatch
|
2019-12-17 19:45:14 +00:00
|
|
|
|
2017-04-15 08:45:10 +00:00
|
|
|
fields:
|
|
|
|
title:
|
2019-05-11 23:05:27 +00:00
|
|
|
selector: td.name > div > a[href*="-torrent-"][title]
|
2017-04-15 08:45:10 +00:00
|
|
|
attribute: title
|
|
|
|
category:
|
|
|
|
selector: td.category > a
|
|
|
|
attribute: href
|
|
|
|
filters:
|
|
|
|
- name: querystring
|
|
|
|
args: cat
|
|
|
|
details:
|
2019-05-11 23:05:27 +00:00
|
|
|
selector: td.name > div > a[href*="-torrent-"][title]
|
2017-04-15 08:45:10 +00:00
|
|
|
attribute: href
|
2019-05-11 23:05:27 +00:00
|
|
|
banner:
|
|
|
|
selector: td.name > a.poster-preview img
|
|
|
|
attribute: src
|
2017-04-15 08:45:10 +00:00
|
|
|
comments:
|
|
|
|
selector: a[href*="#comments"]
|
|
|
|
attribute: href
|
|
|
|
download:
|
2019-05-11 23:05:27 +00:00
|
|
|
selector: td.name > div > a[href*="-torrent-"][title]
|
|
|
|
attribute: href
|
2017-04-15 08:45:10 +00:00
|
|
|
filters:
|
2019-05-11 23:05:27 +00:00
|
|
|
- name: regexp
|
|
|
|
args: "-torrent-(\\d+).html"
|
|
|
|
- name: prepend
|
|
|
|
args: "download.php?id="
|
|
|
|
date:
|
2017-04-15 08:45:10 +00:00
|
|
|
selector: td:nth-child(5)
|
2019-05-11 23:05:27 +00:00
|
|
|
filters:
|
|
|
|
- name: timeago
|
|
|
|
size:
|
2017-04-15 08:45:10 +00:00
|
|
|
selector: td:nth-child(6)
|
2019-05-11 23:05:27 +00:00
|
|
|
seeders:
|
2017-04-15 08:45:10 +00:00
|
|
|
selector: td:nth-child(7)
|
2019-05-11 23:05:27 +00:00
|
|
|
leechers:
|
2017-04-15 08:45:10 +00:00
|
|
|
selector: td:nth-child(8)
|
2019-05-11 23:05:27 +00:00
|
|
|
grabs:
|
|
|
|
selector: td:nth-child(9)
|
2017-04-15 08:45:10 +00:00
|
|
|
downloadvolumefactor:
|
|
|
|
case:
|
2019-12-17 19:45:14 +00:00
|
|
|
"span.label:contains(\"Free\")": 0
|
|
|
|
"span.label:contains(\"50%\")": 0.5
|
|
|
|
"span.label:contains(\"30%\")": 0.7
|
|
|
|
"*": 1
|
2017-04-15 08:45:10 +00:00
|
|
|
uploadvolumefactor:
|
|
|
|
case:
|
2019-12-17 19:45:14 +00:00
|
|
|
"span.label:contains(\"2X\")": 2
|
2020-01-19 06:13:07 +00:00
|
|
|
"*": 1
|
|
|
|
# engine n/a
|