2019-10-06 03:59:24 +00:00
---
2023-12-15 01:43:48 +00:00
id : hdfun
name : HDFun
description : "HDFun (HDZone) is a CHINESE Private Torrent Tracker for HD MOVIES / TV"
2021-09-07 23:09:51 +00:00
language : zh-CN
2020-05-10 20:05:19 +00:00
type : private
encoding : UTF-8
links :
- https://hdzone.me/
2023-06-24 17:53:16 +00:00
- https://hdfun.me/
2019-10-06 03:59:24 +00:00
2020-05-10 20:05:19 +00:00
caps :
categorymappings :
- {id: 411, cat: Movies/SD, desc : "Movies SD" }
- {id: 412, cat: Movies, desc : "Movies IPad" }
- {id: 413, cat: Movies/HD, desc : "Movies 720p" }
- {id: 414, cat: Movies/HD, desc : "Movies 1080p" }
- {id: 415, cat: Movies, desc : "Movies REMUX" }
- {id: 450, cat: Movies/BluRay, desc : "Movies Bluray" }
- {id: 499, cat: Movies/UHD, desc : "Movies UHD Blu-ray" }
- {id: 416, cat: Movies/UHD, desc : "Movies 2160p" }
- {id: 417, cat: TV/Documentary, desc : "Doc SD" }
- {id: 418, cat: TV/Documentary, desc : "Doc IPad" }
- {id: 419, cat: TV/Documentary, desc : "Doc 720p" }
- {id: 420, cat: TV/Documentary, desc : "Doc 1080p" }
- {id: 421, cat: TV/Documentary, desc : "Doc REMUX" }
- {id: 451, cat: TV/Documentary, desc : "Doc Bluray" }
- {id: 500, cat: TV/Documentary, desc : "Doc UHD Blu-ray" }
- {id: 422, cat: TV/Documentary, desc : "Doc 2160p" }
- {id: 423, cat: Audio/Video, desc : "TVMusic 720p" }
- {id: 424, cat: Audio/Video, desc : "TVMusic 1080i" }
- {id: 425, cat: TV/SD, desc : "TVShow SD" }
- {id: 426, cat: TV, desc : "TVShow IPad" }
- {id: 471, cat: TV, desc : "TVShow IPad" }
- {id: 427, cat: TV/HD, desc : "TVShow 720p" }
- {id: 472, cat: TV/HD, desc : "TVShow 720p" }
- {id: 428, cat: TV/HD, desc : "TVShow 1080i" }
- {id: 429, cat: TV/HD, desc : "TVShow 1080p" }
- {id: 430, cat: TV, desc : "TVShow REMUX" }
- {id: 452, cat: TV/HD, desc : "TVShow Bluray" }
- {id: 431, cat: TV/UHD, desc : "TVShow 2160p" }
- {id: 432, cat: TV/SD, desc : "TVSeries SD" }
- {id: 433, cat: TV, desc : "TVSeries IPad" }
- {id: 434, cat: TV/HD, desc : "TVSeries 720p" }
- {id: 435, cat: TV/HD, desc : "TVSeries 1080i" }
- {id: 436, cat: TV/HD, desc : "TVSeries 1080p" }
- {id: 437, cat: TV, desc : "TVSeries REMUX" }
- {id: 453, cat: TV/HD, desc : "TVSeries Bluray" }
- {id: 438, cat: TV/UHD, desc : "TVSeries 2160p" }
- {id: 439, cat: Audio, desc : "Music APE" }
- {id: 440, cat: Audio/Lossless, desc : "Music FLAC" }
- {id: 441, cat: Audio/Video, desc : "Music MV" }
- {id: 442, cat: TV/Sport, desc : "Sports 720p" }
- {id: 443, cat: TV/Sport, desc : "Sports 1080i" }
- {id: 444, cat: TV/Anime, desc : "Anime SD" }
- {id: 445, cat: TV/Anime, desc : "Anime IPad" }
- {id: 446, cat: TV/Anime, desc : "Anime 720p" }
- {id: 447, cat: TV/Anime, desc : "Anime 1080p" }
- {id: 448, cat: TV/Anime, desc : "Anime REMUX" }
- {id: 454, cat: TV/Anime, desc : "Anime Bluray" }
- {id: 409, cat: Other, desc : "Misc" }
- {id: 449, cat: TV/Anime, desc : "Anime 2160p" }
- {id: 501, cat: TV/Anime, desc : "Anime UHD Blu-ray" }
2019-10-06 03:59:24 +00:00
2020-05-10 20:05:19 +00:00
modes :
2020-10-19 03:56:16 +00:00
search : [ q]
2022-07-22 19:13:24 +00:00
tv-search : [ q, season, ep, imdbid, doubanid]
movie-search : [ q, imdbid, doubanid]
2020-05-10 20:05:19 +00:00
music-search : [ q]
2019-10-06 03:59:24 +00:00
2020-05-10 20:05:19 +00:00
settings :
2023-12-17 05:50:50 +00:00
- name : username
2020-05-10 20:05:19 +00:00
type : text
2023-12-17 05:50:50 +00:00
label : Username
- name : password
type : password
label : Password
2020-09-09 07:02:34 +00:00
- name : freeleech
type : checkbox
label : Search freeleech only
default : false
2020-05-10 20:05:19 +00:00
- name : sort
type : select
label : Sort requested from site
2020-10-23 18:32:22 +00:00
default : 4
2020-05-10 20:05:19 +00:00
options :
2020-10-23 18:32:22 +00:00
4 : created
7 : seeders
5 : size
1 : title
2020-05-10 20:05:19 +00:00
- name : type
type : select
label : Order requested from site
2020-10-23 18:32:22 +00:00
default : desc
2020-05-10 20:05:19 +00:00
options :
2020-10-23 18:32:22 +00:00
desc : desc
asc : asc
2020-05-25 03:43:09 +00:00
- name : info_tpp
type : info
label : Results Per Page
default : For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile.
2024-02-28 22:09:06 +00:00
- name : info_activity
type : info
label : Account Inactivity
2024-02-29 01:55:22 +00:00
default : "Cherish your user account. Inactive accounts would be deleted based on the following rules:<ol><li>Nexus Master or above would never be deleted</li><li>Insane User or above would never be deleted if parked (at User CP)</li><li>Parked accounts would be deleted if users have not logged in for more than 120 days in a row</li><li>Un-parked accounts would be deleted if users have not logged in for more than 60 days in a row</li><li>Accounts with both uploaded and downloaded amount being 0 would be deleted if users have not logged in for more than 7 days in a row.</li></ol>"
2020-03-10 02:35:59 +00:00
2020-05-10 20:05:19 +00:00
login :
2023-12-17 05:50:50 +00:00
path : login.php
method : form
form : form[action="takelogin.php"]
captcha :
type : image
selector : img[alt="CAPTCHA"]
input : imagestring
2020-05-10 20:05:19 +00:00
inputs :
2023-12-17 05:50:50 +00:00
secret : ""
username : "{{ .Config.username }}"
password : "{{ .Config.password }}"
logout : ""
securelogin : ""
ssl : yes
trackerssl : yes
error :
- selector : td.embedded:has(h2:contains("失败"))
2020-05-10 20:05:19 +00:00
test :
path : torrents.php
selector : a[href="logout.php"]
2019-10-06 03:59:24 +00:00
2020-05-10 20:05:19 +00:00
search :
paths :
- path : torrents.php
inputs :
$raw : "{{ range .Categories }}cat{{.}}=1&{{end}}"
2023-01-13 17:32:59 +00:00
# currently supports only one query id at one time.
search : "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if or .Query.IMDBID .Query.DoubanID }} {{ else }}{{ .Keywords }}{{ end }}{{ if .Query.DoubanID }}{{ .Query.DoubanID }}{{ else }}{{ end }}"
2020-09-09 07:02:34 +00:00
# 0 incldead, 1 active, 2 onlydead
2020-05-10 20:05:19 +00:00
incldead : 0
2020-09-09 07:02:34 +00:00
# 0 all, 1 normal, 2 free, 3 2x, 4 2xfree, 5 50%, 6 2x50%, 7 30%
spstate : "{{ if .Config.freeleech }}2{{ else }}0{{ end }}"
# 0 title, 1 descr, 3 uploader, 4 imdb
2022-07-22 19:13:24 +00:00
search_area : "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if .Query.DoubanID }}1{{ else }}{{ end }}{{ if or .Query.IMDBID .Query.DoubanID }}{{ else }}0{{ end }}"
2020-09-09 07:02:34 +00:00
# 0 AND, 1 OR, 2 exact
2020-05-10 20:05:19 +00:00
search_mode : 0
sort : "{{ .Config.sort }}"
type : "{{ .Config.type }}"
2023-03-07 22:22:49 +00:00
notnewword : 1
2019-12-17 04:36:06 +00:00
2020-05-10 20:05:19 +00:00
rows :
selector : table.torrents > tbody > tr:has(table.torrentname)
2019-12-17 04:36:06 +00:00
2020-05-10 20:05:19 +00:00
fields :
category :
selector : a[href^="?cat="]
attribute : href
filters :
- name : querystring
args : cat
2021-10-22 03:22:49 +00:00
title_default :
2020-05-10 20:05:19 +00:00
selector : a[href^="details.php?id="]
2023-03-20 17:58:33 +00:00
title :
2020-05-10 20:05:19 +00:00
selector : a[title][href^="details.php?id="]
attribute : title
2023-03-20 17:58:33 +00:00
optional : true
default : "{{ .Result.title_default }}"
2020-05-10 20:05:19 +00:00
details :
selector : a[href^="details.php?id="]
attribute : href
download :
selector : a[href^="download.php?id="]
attribute : href
2021-10-22 03:22:49 +00:00
imdbid :
2020-05-25 03:17:44 +00:00
selector : a[href*="imdb.com/title/tt"]
2020-05-10 20:05:19 +00:00
attribute : href
2021-10-22 03:22:49 +00:00
date_elapsed :
2020-10-03 05:09:40 +00:00
# time type: time elapsed (default)
2020-05-10 20:05:19 +00:00
selector : td:nth-child(4) > span[title]
attribute : title
2020-10-03 05:09:40 +00:00
optional : true
2020-05-10 20:05:19 +00:00
filters :
- name : append
2020-10-03 05:09:40 +00:00
args : " +08:00" # CST
2020-05-10 20:05:19 +00:00
- name : dateparse
2023-02-24 07:02:57 +00:00
args : "yyyy-MM-dd HH:mm:ss zzz"
2021-10-22 03:22:49 +00:00
date_added :
2020-10-03 05:09:40 +00:00
# time added
selector : td:nth-child(4):not(:has(span))
optional : true
filters :
- name : append
args : " +08:00" # CST
- name : dateparse
2023-02-24 07:12:04 +00:00
args : "yyyy-MM-ddHH:mm:ss zzz"
2021-10-22 03:22:49 +00:00
date :
text : "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
2020-05-10 20:05:19 +00:00
size :
selector : td:nth-child(5)
seeders :
selector : td:nth-child(6)
leechers :
selector : td:nth-child(7)
grabs :
selector : td:nth-child(8)
downloadvolumefactor :
case :
img.pro_free : 0
img.pro_free2up : 0
img.pro_50pctdown : 0.5
img.pro_50pctdown2up : 0.5
img.pro_30pctdown : 0.3
"*": 1
uploadvolumefactor :
case :
img.pro_50pctdown2up : 2
img.pro_free2up : 2
img.pro_2up : 2
"*": 1
2020-11-26 18:20:19 +00:00
minimumratio :
text : 1.2
# does not appear to be implemented, no h&r tag found
# minimumseedtime:
# # 14 days (as seconds = 2 x 24 x 60 x 60)
# text: 1209600
2020-05-10 20:05:19 +00:00
description :
selector : td:nth-child(2)
2023-05-06 05:49:45 +00:00
remove : a, b, font, img, span
2020-01-15 19:26:44 +00:00
# NexusPHP Standard v1.5 Beta 4