2020-03-03 16:28:26 +00:00
|
|
|
---
|
2020-05-11 19:59:28 +00:00
|
|
|
id: hdroute
|
2020-05-10 20:05:19 +00:00
|
|
|
name: HDRoute
|
|
|
|
description: "HDRoute is a CHINESE Private Torrent Tracker for HD MOVIES / TV"
|
|
|
|
language: zh-cn
|
|
|
|
type: private
|
|
|
|
encoding: UTF-8
|
|
|
|
links:
|
|
|
|
- http://hdroute.org/ # site does not support https: NET::ERR_CERT_REVOKED 21 Aug 2015
|
2019-12-04 20:57:29 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
caps:
|
|
|
|
categorymappings:
|
|
|
|
- {id: 1, cat: Movies, desc: "电影 (Movies)"}
|
|
|
|
- {id: 2, cat: TV/Documentary, desc: "演示/纪录片 (Demo/Docu)"}
|
|
|
|
- {id: 3, cat: TV, desc: "连续剧 (TV)"}
|
|
|
|
- {id: 4, cat: TV/Anime, desc: "动画片 (Animation)"}
|
|
|
|
- {id: 5, cat: Audio/Video, desc: "演唱会/MV (Music Video)"}
|
|
|
|
- {id: 6, cat: TV/Sport, desc: "体育节目 (Sports)"}
|
|
|
|
- {id: 7, cat: Audio/Other, desc: "电影音轨 (Soundtracks"}
|
|
|
|
- {id: 8, cat: Audio/Lossless, desc: "无损音乐 (Lossless)"}
|
|
|
|
- {id: 9, cat: Other, desc: "其他 (Other)"}
|
|
|
|
modes:
|
2020-10-19 03:56:16 +00:00
|
|
|
search: [q]
|
2020-05-10 20:05:19 +00:00
|
|
|
tv-search: [q, season, ep, imdbid]
|
|
|
|
movie-search: [q, imdbid]
|
|
|
|
music-search: [q]
|
2020-03-08 22:28:43 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
login:
|
|
|
|
path: login.php?action=login
|
|
|
|
method: post
|
|
|
|
inputs:
|
|
|
|
username: "{{ .Config.username }}"
|
|
|
|
password: "{{ .Config.password }}"
|
|
|
|
error:
|
|
|
|
- selector: :contains("用户不存在")
|
|
|
|
- selector: :contains("密码错误")
|
|
|
|
test:
|
|
|
|
path: index.php
|
2019-12-04 20:57:29 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
search:
|
|
|
|
paths:
|
2020-05-12 23:40:24 +00:00
|
|
|
# http://hdroute.org/browse.php?s=&dp=0&add=0&action=s&c1=1&c3=1&or=1&imdb=
|
2020-05-10 20:05:19 +00:00
|
|
|
- path: browse.php
|
|
|
|
inputs:
|
|
|
|
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
2020-11-14 22:13:35 +00:00
|
|
|
s: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
|
|
|
# discount 0 all, 1 none, 2 30%, 3 50%, 4 70%, 5 free, 6 tempo free
|
2020-05-10 20:05:19 +00:00
|
|
|
dp: 0
|
2020-11-14 22:13:35 +00:00
|
|
|
# dates 0 all, 1 this week, 2 this month, 3 this season, 4 this year
|
2020-05-10 20:05:19 +00:00
|
|
|
add: 0
|
2020-11-15 01:43:52 +00:00
|
|
|
# order: 1 uptime, 2 imdb, 3 comment, 4 size, 5 complete, 6 upload
|
2020-05-10 20:05:19 +00:00
|
|
|
or: 1
|
|
|
|
action: s
|
2020-11-17 03:28:44 +00:00
|
|
|
imdb: "{{ if .Query.IMDBID }}{{ .Query.IMDBIDShort }}{{ else }}{{ end }}"
|
2020-01-15 19:26:44 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
rows:
|
|
|
|
selector: div#unsticky-torrent-table dl, div#sticky-torrent-table dl
|
2020-01-15 19:26:44 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
fields:
|
|
|
|
category:
|
|
|
|
text: 9
|
|
|
|
title:
|
|
|
|
selector: div.torrent_title
|
|
|
|
details:
|
|
|
|
selector: a[href^="details.php?id="]
|
|
|
|
attribute: href
|
|
|
|
download:
|
|
|
|
selector: a[href^="details.php?id="]
|
|
|
|
attribute: href
|
|
|
|
filters:
|
|
|
|
- name: replace
|
|
|
|
args: ["details.php", "download.php"]
|
|
|
|
size:
|
|
|
|
selector: div.torrent_size
|
|
|
|
date:
|
|
|
|
selector: div.torrent_added
|
|
|
|
filters:
|
2020-11-14 22:13:35 +00:00
|
|
|
- name: append
|
|
|
|
args: " +08:00" # CST
|
2020-05-10 20:05:19 +00:00
|
|
|
- name: dateparse
|
2020-11-14 22:13:35 +00:00
|
|
|
args: "2006-01-0215:04:05 -07:00"
|
2020-05-10 20:05:19 +00:00
|
|
|
imdb:
|
|
|
|
selector: div.torrent-imdb
|
|
|
|
attribute: href
|
2020-11-07 23:43:33 +00:00
|
|
|
poster:
|
2020-05-10 20:05:19 +00:00
|
|
|
selector: div.introForPic img
|
|
|
|
attribute: src
|
|
|
|
filters:
|
|
|
|
- name: replace
|
|
|
|
args: ["./img/theme1/default.jpg", ""]
|
|
|
|
seeders:
|
|
|
|
selector: div.torrent-content-right div:nth-child(5)
|
|
|
|
leechers:
|
|
|
|
selector: div.torrent-content-right div:nth-child(6)
|
|
|
|
downloadvolumefactor:
|
|
|
|
case:
|
|
|
|
figure.sprite_tempo_free: 0
|
|
|
|
figure.sprite_dlp100: 0
|
|
|
|
figure.sprite_dlp000: 0
|
|
|
|
figure.sprite_dlp070: 0.7
|
|
|
|
figure.sprite_dlp050: 0.5
|
|
|
|
figure.sprite_dlp030: 0.3
|
|
|
|
"*": 1
|
|
|
|
uploadvolumefactor:
|
|
|
|
case:
|
|
|
|
"*": 1
|
2020-03-10 02:35:59 +00:00
|
|
|
# engine tbd
|