hdchina; removed. resolves #141

This commit is contained in:
Garfield69 2024-01-14 19:04:41 +13:00
parent cf8183821f
commit 3a4b4d4c0e
3 changed files with 1 additions and 144 deletions

View File

@ -380,7 +380,6 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht
* HDAtmos
* HDBits [![(invite needed)][inviteneeded]](#)
* HDC (HDCiTY) [![(invite needed)][inviteneeded]](#)
* HDChina (HDWing) [![(invite needed)][inviteneeded]](#)
* HDFans
* HDFun (HDZone)
* HDHome (HDBigger) [![(invite needed)][inviteneeded]](#)

View File

@ -1,143 +0,0 @@
---
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: "<ol><li>Login to this tracker with your browser</li><li>Open the <b>DevTools</b> panel by pressing <b>F12</b></li><li>Select the <b>Network</b> tab</li><li>Click on the <b>Doc</b> button (Chrome Browser) or <b>HTML</b> button (FireFox)</li><li>Refresh the page by pressing <b>F5</b></li><li>Click on the first row entry</li><li>Select the <b>Headers</b> tab on the Right panel</li><li>Find <b>'cookie:'</b> in the <b>Request Headers</b> section</li><li><b>Select</b> and <b>Copy</b> the whole cookie string <i>(everything after 'cookie: ')</i> and <b>Paste</b> here.</li></ol>"
- 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.
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)

View File

@ -415,6 +415,7 @@ namespace Jackett.Updater
"Definitions/hdbits.yml",
"Definitions/hdbitscom.yml",
"Definitions/hdcenter.yml",
"Definitions/hdchina.yml",
"Definitions/hdcity.yml", // moved to pixelados
"Definitions/hdclub.yml",
"Definitions/hddisk.yml",