2017-12-01 13:13:09 +00:00
|
|
|
---
|
2020-05-11 19:59:28 +00:00
|
|
|
id: ccfbits
|
2020-05-10 20:05:19 +00:00
|
|
|
name: CCFBits
|
|
|
|
description: "CCFBits is a CHINESE Private Torrent Tracker for HD MOVIES / TV"
|
|
|
|
language: zh-cn
|
|
|
|
type: private
|
|
|
|
encoding: UTF-8
|
|
|
|
links:
|
|
|
|
- https://ccfbits.org/
|
2017-12-01 13:13:09 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
caps:
|
|
|
|
categorymappings:
|
|
|
|
# 高清电影
|
|
|
|
- {id: 39, cat: Movies/HD, desc: "HD-DVD原盘"}
|
|
|
|
- {id: 40, cat: Movies/BluRay, desc: "Blu-ray原盘"}
|
|
|
|
- {id: 30, cat: Movies/HD, desc: "高清电影1080p"}
|
|
|
|
- {id: 2, cat: Movies/HD, desc: "高清电影720p"}
|
|
|
|
# 高清电视剧
|
|
|
|
- {id: 7, cat: TV/HD, desc: "高清欧美剧"}
|
|
|
|
- {id: 32, cat: TV/HD, desc: "高清国产剧"}
|
|
|
|
- {id: 34, cat: TV/HD, desc: "高清港台剧"}
|
|
|
|
- {id: 36, cat: TV/HD, desc: "高清日韩剧"}
|
|
|
|
# 其他高清视频
|
|
|
|
- {id: 12, cat: TV/Documentary, desc: "高清纪录片"}
|
|
|
|
- {id: 11, cat: TV/Sport, desc: "高清体育"}
|
|
|
|
- {id: 23, cat: TV/Anime, desc: "高清动漫"}
|
|
|
|
- {id: 4, cat: Audio/Video, desc: "高清MV/综艺"}
|
|
|
|
# 电视剧集包
|
|
|
|
- {id: 38, cat: TV/HD, desc: "欧美剧包"}
|
|
|
|
- {id: 33, cat: TV/HD, desc: "国产剧包"}
|
|
|
|
- {id: 35, cat: TV/HD, desc: "港台剧包"}
|
|
|
|
- {id: 37, cat: TV/HD, desc: "日韩剧包"}
|
|
|
|
# 非高清和其他
|
|
|
|
- {id: 43, cat: TV/SD, desc: "HR_HDTV"}
|
|
|
|
- {id: 20, cat: Movies/DVD, desc: "DVD"}
|
|
|
|
- {id: 42, cat: Movies/SD, desc: "XviD"}
|
|
|
|
- {id: 3, cat: Audio, desc: "无损音乐"}
|
|
|
|
- {id: 22, cat: Other, desc: "杂项"}
|
2017-12-01 13:13:09 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
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-06 23:55:48 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
settings:
|
|
|
|
- name: username
|
|
|
|
type: text
|
|
|
|
label: Username
|
|
|
|
- name: password
|
|
|
|
type: password
|
|
|
|
label: Password
|
|
|
|
- name: sort
|
|
|
|
type: select
|
|
|
|
label: Sort requested from site
|
2020-10-23 05:51:06 +00:00
|
|
|
default: added
|
2020-05-10 20:05:19 +00:00
|
|
|
options:
|
2020-10-23 05:51:06 +00:00
|
|
|
added: created
|
|
|
|
seeders: seeders
|
|
|
|
size: size
|
|
|
|
name: title
|
2020-05-10 20:05:19 +00:00
|
|
|
- name: type
|
|
|
|
type: select
|
|
|
|
label: Order requested from site
|
2020-10-23 05:51:06 +00:00
|
|
|
default: DESC
|
2020-05-10 20:05:19 +00:00
|
|
|
options:
|
2020-10-23 05:51:06 +00:00
|
|
|
DESC: desc
|
|
|
|
ASC: asc
|
2017-12-01 13:13:09 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
login:
|
|
|
|
path: takelogin.php
|
|
|
|
method: post
|
|
|
|
inputs:
|
|
|
|
username: "{{ .Config.username }}"
|
|
|
|
password: "{{ .Config.password }}"
|
|
|
|
error:
|
|
|
|
- selector: td.embedded:has(h2:contains("登录失败"))
|
|
|
|
test:
|
|
|
|
path: browse.php
|
2017-12-01 13:13:09 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
search:
|
|
|
|
paths:
|
|
|
|
- path: browse.php
|
|
|
|
inputs:
|
|
|
|
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
2020-11-12 23:55:10 +00:00
|
|
|
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
2020-05-10 20:05:19 +00:00
|
|
|
# 0 active 1 incldead 2 deadonly
|
|
|
|
incldead: 1
|
2020-11-12 23:55:10 +00:00
|
|
|
fullsearch: "{{ if .Query.IMDBID }}1{{ else }}{{ end }}"
|
2020-05-10 20:05:19 +00:00
|
|
|
sort: "{{ .Config.sort }}"
|
|
|
|
d: "{{ .Config.sort }}"
|
2019-12-19 07:00:17 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
rows:
|
|
|
|
selector: table[border="1"][cellpadding="5"] > tbody > tr:has(a[href^="details.php?id="])
|
2019-12-19 07:00:17 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
fields:
|
|
|
|
title:
|
|
|
|
selector: a[title][href^="details.php?id="]
|
|
|
|
attribute: title
|
|
|
|
filters:
|
|
|
|
- name: split
|
|
|
|
args: ["\n", 0]
|
|
|
|
category:
|
|
|
|
selector: a[href^="browse.php?cat="]
|
|
|
|
attribute: href
|
|
|
|
filters:
|
|
|
|
- name: querystring
|
|
|
|
args: cat
|
|
|
|
details:
|
|
|
|
selector: a[href^="details.php?id="]
|
|
|
|
attribute: href
|
|
|
|
download:
|
|
|
|
selector: a[href^="download.php/"]
|
|
|
|
attribute: href
|
|
|
|
imdb:
|
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
|
|
|
|
files:
|
|
|
|
selector: a[href$="&filelist=1"]
|
|
|
|
grabs:
|
|
|
|
selector: a[href^="snatches.php?id"]
|
|
|
|
filters:
|
|
|
|
- name: replace
|
|
|
|
args: ["次", ""]
|
|
|
|
size:
|
|
|
|
selector: td:nth-child(7)
|
|
|
|
remove: a
|
|
|
|
seeders:
|
|
|
|
selector: td:nth-child(8)
|
|
|
|
leechers:
|
|
|
|
selector: td:nth-child(9)
|
|
|
|
date:
|
|
|
|
selector: td:nth-child(5)
|
|
|
|
filters:
|
|
|
|
- name: append
|
2020-11-12 23:55:10 +00:00
|
|
|
args: " +08:00" # CST
|
2020-05-10 20:05:19 +00:00
|
|
|
- name: dateparse
|
|
|
|
args: "2006-01-0215:04:05 -07:00"
|
|
|
|
downloadvolumefactor:
|
|
|
|
case:
|
|
|
|
"font[color=\"#C20603\"]:contains(\"免费\")": 0
|
|
|
|
"font:has([src=\"/pic/arrowdown1.gif\"]):contains(\"0.5x\")": 0.5
|
|
|
|
"*": 1
|
|
|
|
uploadvolumefactor:
|
|
|
|
case:
|
|
|
|
"font:has([src=\"/pic/arrowup1.gif\"]):contains(\"1.5x\")": 1.5
|
|
|
|
"font:has([src=\"/pic/arrowup1.gif\"]):contains(\"2x\")": 2
|
|
|
|
"*": 1
|
|
|
|
description:
|
|
|
|
selector: td:nth-child(2) > table > tbody > tr:nth-child(2)
|
|
|
|
remove: a, img
|
2020-03-06 23:55:48 +00:00
|
|
|
# Discuz! 7.2
|