---
id: hdchina
name: HDChina
description: "HDChina (HDWing) is a CHINESE Private Torrent Tracker for HD MOVIES / TV"
language: zh-CN
type: private
encoding: UTF-8
links:
- https://hdchina.org/
legacylinks:
- https://hdchina.club/
caps:
categorymappings:
- {id: 20, cat: Movies/BluRay, desc: "Movie Full BD/原盘"}
- {id: 17, cat: Movies/HD, desc: "Movie 1080p/电影"}
- {id: 16, cat: Movies/HD, desc: "Movie 1080i/电影"}
- {id: 9, cat: Movies/HD, desc: "Movie 720p/电影"}
- {id: 13, cat: TV, desc: "EU/US TV series/欧美剧"}
- {id: 25, cat: TV, desc: "Chinese TV series/中港台剧集"}
- {id: 26, cat: TV, desc: "Kor Drama/韩剧"}
- {id: 24, cat: TV, desc: "Jpn Drama/日剧"}
- {id: 21, cat: TV, desc: "EU/US TV series pack/欧美剧集包"}
- {id: 22, cat: TV, desc: "Chinese TV series pack/中港台剧集包"}
- {id: 23, cat: TV, desc: "JPN/KOR drama pack/日韩剧集包"}
- {id: 27, cat: Movies/SD, desc: "iPad Video/iPad视频"}
- {id: 5, cat: TV/Documentary, desc: "Documentary/纪录片"}
- {id: 15, cat: TV/Sport, desc: "Sports/体育节目"}
- {id: 14, cat: TV/Anime, desc: "Animation/动画片"}
- {id: 401, cat: TV, desc: "TV Shows/综艺"}
- {id: 402, cat: Audio, desc: "Vocal Concert/演唱会"}
- {id: 406, cat: Audio, desc: "Music Video/MV"}
- {id: 408, cat: Audio, desc: "Music/音乐"}
- {id: 19, cat: Audio, desc: "Audio Track/补充音轨"}
- {id: 405, cat: Audio, desc: "Drama/戏剧"}
- {id: 404, cat: Books, desc: "Book/书籍"}
- {id: 409, cat: Other, desc: "Other/其他"}
- {id: 410, cat: Movies/HD, desc: "4K UltraHD"}
- {id: 411, cat: TV, desc: "Travel/旅游"}
- {id: 412, cat: TV, desc: "Food/饮食"}
modes:
search: [q]
tv-search: [q, season, ep, imdbid]
movie-search: [q, imdbid]
music-search: [q]
book-search: [q]
settings:
- name: cookie
type: text
label: Cookie
- name: info
type: info
label: How to get the Cookie
default: "
- Login to this tracker with your browser
- Open the DevTools panel by pressing F12
- Select the Network tab
- Click on the Doc button (Chrome Browser) or HTML button (FireFox)
- Refresh the page by pressing F5
- Click on the first row entry
- Select the Headers tab on the Right panel
- Find 'cookie:' in the Request Headers section
- Select and Copy the whole cookie string (everything after 'cookie: ') and Paste here.
"
- name: info_tpp
type: info
label: Results Per Page
default: For best results, change the Torrents per page: setting to 100 on your account profile.
login:
method: cookie
inputs:
cookie: "{{ .Config.cookie }}"
test:
path: torrents.php
selector: a[href^="logout.php"]
search:
paths:
- path: torrents.php
inputs:
$raw: "{{ range .Categories }}cat{{.}}=1&{{end}}"
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
# 0=incldead, 1=active, 2=dead
incldead: 0
# 0=all, 1=normal, 2=free, 3=2x, 4=2x free, 5=50%, 6=2x 50%, 7=30%
spstate: 0
# 0=title, 1=descr, 3=uploader, 4=imdb URL
search_area: "{{ if .Query.IMDBID }}4{{ else }}0{{ end }}"
# 0=AND, 1=OR, 2=Exact
search_mode: 0
notnewword: 1
rows:
selector: table.torrent_list > tbody > tr:has(a[href^="?cat="])
fields:
category:
selector: a[href^="?cat="]
attribute: href
filters:
- name: querystring
args: cat
title:
selector: a[href^="details.php?id="]
filters:
- name: re_replace
args: ["\\.", " "]
details:
selector: a[href^="details.php?id="]
attribute: href
download:
selector: a[href^="download.php?hash="]
attribute: href
description:
selector: h4
size:
selector: td.t_size
grabs:
selector: td.t_completed
seeders:
selector: td.t_torrents
leechers:
selector: td.t_leech
date_elapsed:
# time type: time elapsed (default)
selector: td.t_time > span[title]
attribute: title
optional: true
filters:
- name: append
args: " +08:00" # CST
- name: dateparse
args: "yyyy-MM-dd HH:mm:ss zzz"
date_added:
# time added
selector: td.t_time:not(:has(span))
optional: true
filters:
- name: append
args: " +08:00" # CST
- name: dateparse
args: "yyyy-MM-ddHH:mm:ss zzz"
date:
text: "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
downloadvolumefactor:
# DLVF and ULVF are dynamically presented via javascript so not available to cardigann
text: 1
uploadvolumefactor:
text: 1
# NexusPHP 4e16128 (Customised)