Files
tvboxzt/spider_validation.html
T
2026-05-13 08:13:22 +08:00

563 lines
104 KiB
HTML

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Spider 校验 HTML 报告</title>
<style>
:root {
color-scheme: light;
--bg: #eef3f1;
--panel: #ffffff;
--text: #102027;
--muted: #57707d;
--accent: #0f766e;
--accent-soft: #d7f3ee;
--danger: #b42318;
--danger-soft: #fde7e4;
--border: #d8e3df;
--shadow: 0 16px 40px rgba(16, 32, 39, 0.08);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: "Segoe UI", "PingFang SC", "Noto Sans SC", sans-serif;
background:
radial-gradient(circle at top left, rgba(15, 118, 110, 0.12), transparent 28%),
linear-gradient(180deg, #f7faf9 0%, var(--bg) 100%);
color: var(--text);
}
a {
color: var(--accent);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.page {
width: min(1600px, calc(100vw - 32px));
margin: 0 auto;
padding: 24px 0 40px;
}
.hero {
display: grid;
gap: 18px;
margin-bottom: 18px;
padding: 24px;
border: 1px solid rgba(15, 118, 110, 0.16);
border-radius: 20px;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(231, 245, 241, 0.96));
box-shadow: var(--shadow);
}
.hero h1 {
margin: 0;
font-size: clamp(30px, 5vw, 42px);
line-height: 1.05;
letter-spacing: -0.03em;
}
.hero p {
margin: 0;
color: var(--muted);
font-size: 15px;
}
.summary-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 12px;
}
.summary-card {
padding: 14px 16px;
border: 1px solid var(--border);
border-radius: 16px;
background: rgba(255, 255, 255, 0.84);
}
.summary-card span {
display: block;
font-size: 12px;
color: var(--muted);
margin-bottom: 6px;
}
.summary-card strong {
font-size: 24px;
letter-spacing: -0.03em;
}
.panel {
margin-top: 18px;
padding: 20px;
border: 1px solid var(--border);
border-radius: 20px;
background: var(--panel);
box-shadow: var(--shadow);
}
.panel h2 {
margin: 0 0 12px;
font-size: 18px;
}
.filters {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 12px;
align-items: end;
}
.filter {
display: grid;
gap: 6px;
}
.filter label {
font-size: 12px;
font-weight: 600;
color: var(--muted);
}
.filter input,
.filter select,
.filter button {
width: 100%;
min-height: 42px;
padding: 10px 12px;
border: 1px solid var(--border);
border-radius: 12px;
background: #fff;
color: var(--text);
font: inherit;
}
.filter button {
background: var(--accent);
color: #fff;
border-color: var(--accent);
cursor: pointer;
font-weight: 600;
}
.filter button:hover {
filter: brightness(0.97);
}
#summary-line {
margin: 14px 0 0;
color: var(--muted);
font-size: 14px;
}
.table-wrap {
overflow: auto;
border: 1px solid var(--border);
border-radius: 16px;
}
table {
width: 100%;
min-width: 1300px;
border-collapse: collapse;
background: #fff;
}
thead {
background: #f4faf8;
}
th,
td {
padding: 12px 14px;
border-bottom: 1px solid var(--border);
vertical-align: top;
text-align: left;
font-size: 13px;
}
td {
line-height: 1.45;
word-break: break-word;
}
th button {
all: unset;
display: inline-flex;
align-items: center;
gap: 6px;
cursor: pointer;
font-weight: 700;
color: var(--text);
}
th button .sort-indicator {
color: var(--muted);
font-size: 11px;
}
.status {
display: inline-flex;
align-items: center;
padding: 4px 10px;
border-radius: 999px;
font-weight: 700;
font-size: 12px;
white-space: nowrap;
}
.status.success {
color: var(--accent);
background: var(--accent-soft);
}
.status.failed {
color: var(--danger);
background: var(--danger-soft);
}
.empty {
padding: 28px 14px;
text-align: center;
color: var(--muted);
}
@media (max-width: 768px) {
.page {
width: min(100vw - 20px, 1600px);
padding-top: 16px;
}
.hero,
.panel {
padding: 16px;
border-radius: 16px;
}
}
</style>
</head>
<body>
<div class="page">
<section class="hero">
<div>
<h1>Spider 校验 HTML 报告</h1>
<p>本地静态报告,支持前端即时筛选与表头排序。</p>
</div>
<div class="summary-grid">
<div class="summary-card"><span>生成时间</span><strong id="generated-at"></strong></div>
<div class="summary-card"><span>并发线程</span><strong id="max-workers"></strong></div>
<div class="summary-card"><span>总数</span><strong id="total-count"></strong></div>
<div class="summary-card"><span>成功</span><strong id="success-count"></strong></div>
<div class="summary-card"><span>失败</span><strong id="failed-count"></strong></div>
<div class="summary-card"><span>总耗时</span><strong id="total-duration"></strong></div>
</div>
</section>
<section class="panel">
<h2>筛选</h2>
<div class="filters">
<div class="filter">
<label for="status-filter">状态</label>
<select id="status-filter"></select>
</div>
<div class="filter">
<label for="stage-filter">失败阶段</label>
<select id="stage-filter"></select>
</div>
<div class="filter">
<label for="keyword-filter">爬虫名 / 文件名关键字</label>
<input id="keyword-filter" type="search" placeholder="例如 alpha / 4K指南" />
</div>
<div class="filter">
<label for="duration-min-filter">最小耗时(ms)</label>
<input id="duration-min-filter" type="number" min="0" />
</div>
<div class="filter">
<label for="duration-max-filter">最大耗时(ms)</label>
<input id="duration-max-filter" type="number" min="0" />
</div>
<div class="filter">
<label for="reset-filters">操作</label>
<button id="reset-filters" type="button">重置筛选</button>
</div>
</div>
<p id="summary-line">当前显示 0 / 0 条</p>
</section>
<section class="panel">
<h2>明细结果</h2>
<div class="table-wrap">
<table>
<thead>
<tr>
<th><button type="button" data-sort-key="spider">爬虫 <span class="sort-indicator"></span></button></th>
<th><button type="button" data-sort-key="status">状态 <span class="sort-indicator"></span></button></th>
<th><button type="button" data-sort-key="failed_stage">失败阶段 <span class="sort-indicator"></span></button></th>
<th><button type="button" data-sort-key="total">总耗时 <span class="sort-indicator"></span></button></th>
<th><button type="button" data-sort-key="module_load">模块加载 <span class="sort-indicator"></span></button></th>
<th><button type="button" data-sort-key="init">初始化 <span class="sort-indicator"></span></button></th>
<th><button type="button" data-sort-key="home">首页分类 <span class="sort-indicator"></span></button></th>
<th><button type="button" data-sort-key="category">分类列表 <span class="sort-indicator"></span></button></th>
<th><button type="button" data-sort-key="detail">视频详情 <span class="sort-indicator"></span></button></th>
<th><button type="button" data-sort-key="player">播放地址 <span class="sort-indicator"></span></button></th>
<th><button type="button" data-sort-key="url_check">地址校验 <span class="sort-indicator"></span></button></th>
<th>返回地址</th>
<th>错误信息</th>
</tr>
</thead>
<tbody id="results-body"></tbody>
</table>
</div>
</section>
</div>
<script>
const report = {"generated_at": "2026-05-13T08:12:38+08:00", "max_workers": 16, "total_duration_ms": 44431.703, "summary": {"total": 70, "success": 51, "failed": 19, "success_rate": 0.7286, "stage_failures": {"module_load": 0, "init": 0, "home": 2, "category": 4, "detail": 0, "player": 1, "url_check": 5, "unexpected": 7}}, "results": [{"spider": "4K指南", "file": "4K指南.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 197.711, "init": 0.001, "home": 0.001, "category": 1723.721, "detail": 1113.189, "player": 0.004, "url_check": 232.665, "total": 3270.513}, "counts": {"classes": 5, "category_videos": 50, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "zuixin", "vod_id": "20095", "flag": "夸克网盘", "play_id": "push://https://pan.quark.cn/s/092d2789d138"}, "player": {"parse": 0, "url": "https://pan.quark.cn/s/092d2789d138", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.quark.cn/s/092d2789d138", "reason": null}}, {"spider": "6V磁力", "file": "6V磁力.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 172.193, "init": 0.003, "home": 0.002, "category": 1358.688, "detail": 1200.207, "player": 0.002, "url_check": 0.014, "total": 2733.515}, "counts": {"classes": 12, "category_videos": 18, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "dianshiju/guoju", "vod_id": "/dianshiju/guoju/28661.html", "flag": "01-07.1080p.HD国语中字无水印.mkv", "play_id": "magnet:?xt=urn:btih:bf9a134b00c3ccc55c743b1340e15539f2321241&dn=%E7%88%B1%E6%83%85%E6%B2%A1%E6%9C%89%E7%A5%9E%E8%AF%9D01-07"}, "player": {"parse": 0, "url": "magnet:?xt=urn:btih:bf9a134b00c3ccc55c743b1340e15539f2321241&dn=%E7%88%B1%E6%83%85%E6%B2%A1%E6%9C%89%E7%A5%9E%E8%AF%9D01-07", "valid": true, "reachable": null, "status_code": null, "final_url": "magnet:?xt=urn:btih:bf9a134b00c3ccc55c743b1340e15539f2321241&dn=%E7%88%B1%E6%83%85%E6%B2%A1%E6%9C%89%E7%A5%9E%E8%AF%9D01-07", "reason": "非 HTTP 地址,按协议格式通过"}}, {"spider": "AAZ音乐", "file": "AAZ音乐.txt", "success": false, "failed_stage": "url_check", "error": "HTTP 403", "traceback": null, "timings_ms": {"module_load": 171.901, "init": 0.001, "home": 2289.658, "category": 1160.155, "detail": 1187.685, "player": 1170.503, "url_check": 490.741, "total": 10455.853}, "counts": {"classes": 6, "category_videos": 60, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "top", "vod_id": "song:f821b0a64d6f28f55e94ce7060e4e101", "flag": "AAZ音乐", "play_id": "song:f821b0a64d6f28f55e94ce7060e4e101"}, "player": {"parse": 0, "url": "https://s.5bb3.com/m4a/3d8d0808009dc4294b863d12237e103c.m4a", "valid": false, "reachable": false, "status_code": 403, "final_url": "https://lv-sycdn.kuwo.cn/2fef1bf98185d5e4e3b9309d861733cc/6a03c200/resource/1307392909/trackmedia/C200003T85Hg2Ouv0r.m4a?from=vip", "reason": "HTTP 403"}}, {"spider": "PPnix", "file": "PPnix.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 240.004, "init": 0.0, "home": 0.0, "category": 2050.282, "detail": 1136.373, "player": 0.009, "url_check": 925.022, "total": 4352.242}, "counts": {"classes": 2, "category_videos": 24, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "movie/8144.html", "flag": "PPnix", "play_id": "8144|1080P"}, "player": {"parse": 0, "url": "https://www.ppnix.com/info/m3u8/8144/1080P.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://www.ppnix.com/info/m3u8/8144/1080P.m3u8", "reason": null}}, {"spider": "QQ音乐", "file": "QQ音乐.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 181.622, "init": 0.01, "home": 0.007, "category": 986.814, "detail": 456.508, "player": 5500.58, "url_check": 168.088, "total": 7310.166}, "counts": {"classes": 6, "category_videos": 30, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "playlist", "vod_id": "playlist:7526065605", "flag": "QQ音乐", "play_id": "qqmusic:001hs89m3C5p3g:107762070|小半 - 陈粒"}, "player": {"parse": 0, "url": "https://isure.stream.qqmusic.qq.com/F000003Iu5fo0mXVj2.flac?guid=bc415182efbe86778513c0593635d0db&vkey=D891E400543C40853284C70004D8491E7A0495FE78DC95A6A00C671F477BE85A6B3C7CC039178F11116C175AD5C1E6E40D9C632129BAE46A__v2b9abc7d&uin=1152921504846230218&fromtag=119114&redirect=1", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://isure.stream.qqmusic.qq.com/F000003Iu5fo0mXVj2.flac?guid=bc415182efbe86778513c0593635d0db&vkey=D891E400543C40853284C70004D8491E7A0495FE78DC95A6A00C671F477BE85A6B3C7CC039178F11116C175AD5C1E6E40D9C632129BAE46A__v2b9abc7d&uin=1152921504846230218&fromtag=119114&redirect=1", "reason": null}}, {"spider": "libvio", "file": "libvio.txt", "success": false, "failed_stage": "category", "error": "分类视频列表为空", "traceback": null, "timings_ms": {"module_load": 178.815, "init": 0.0, "home": 0.001, "category": 844.08, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 1931.339}, "counts": {"classes": 6, "category_videos": 0, "detail_videos": 0, "episodes": 0}, "samples": {"tid": "movie", "vod_id": null, "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "youknow", "file": "youknow.txt", "success": false, "failed_stage": "url_check", "error": "HTTP 403", "traceback": null, "timings_ms": {"module_load": 183.601, "init": 0.001, "home": 0.001, "category": 1998.906, "detail": 1510.459, "player": 1901.474, "url_check": 1822.431, "total": 15322.54}, "counts": {"classes": 7, "category_videos": 72, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "drama", "vod_id": "203902", "flag": "YouKnowTV", "play_id": "eyJ2b2RfaWQiOiIyMDM5MDIiLCJlcGlzb2RlX2luZGV4IjoxLCJ0aXRsZSI6IuesrDAx6ZuGIiwiY2FuZGlkYXRlcyI6W3sic291cmNlIjoi57q_6LevMSIsInNvdXJjZV9pZCI6IjEiLCJlcGlzb2RlX3VybCI6Imh0dHBzOi8vd3d3LnlvdWtub3cudHYvcC8yMDM5MDItMS0xLyJ9LHsic291cmNlIjoi57q_6LevMiIsInNvdXJjZV9pZCI6IjEiLCJlcGlzb2RlX3VybCI6Imh0dHBzOi8vd3d3LnlvdWtub3cudHYvcC8yMDM5MDItMS0xLyJ9LHsic291cmNlIjoi57q_6LevNSIsInNvdXJjZV9pZCI6IjIiLCJlcGlzb2RlX3VybCI6Imh0dHBzOi8vd3d3LnlvdWtub3cudHYvcC8yMDM5MDItMi0xLyJ9LHsic291cmNlIjoi57q_6LevNiIsInNvdXJjZV9pZCI6IjIiLCJlcGlzb2RlX3VybCI6Imh0dHBzOi8vd3d3LnlvdWtub3cudHYvcC8yMDM5MDItMi0xLyJ9XX0"}, "player": {"parse": 0, "url": "https://play.phimgood.com/20260512/26693_14d9f3a2/index.m3u8", "valid": false, "reachable": false, "status_code": 403, "final_url": "https://play.phimgood.com/20260512/26693_14d9f3a2/index.m3u8", "reason": "HTTP 403"}}, {"spider": "不太灵", "file": "不太灵.txt", "success": false, "failed_stage": "player", "error": "playerContent 未返回播放地址", "traceback": null, "timings_ms": {"module_load": 176.883, "init": 0.001, "home": 2122.081, "category": 1721.741, "detail": 2053.524, "player": 0.008, "url_check": 0.0, "total": 9295.879}, "counts": {"classes": 5, "category_videos": 25, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "2", "vod_id": "35922594", "flag": "baidu#1", "play_id": "baidu"}, "player": {"parse": 0, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "世纪音乐", "file": "世纪音乐.txt", "success": false, "failed_stage": "unexpected", "error": "HTTPSConnectionPool(host='www.4c44.com', port=443): Max retries exceeded with url: /list/rise.html (Caused by ConnectTimeoutError(<HTTPSConnection(host='www.4c44.com', port=443) at 0x7e6dabda82d0>, 'Connection to www.4c44.com timed out. (connect timeout=10)'))", "traceback": "Traceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 644, in validate_spider_file\n _validate_from_tid(\n ~~~~~~~~~~~~~~~~~~^\n spider=spider,\n ^^^^^^^^^^^^^^\n ...<6 lines>...\n logger=logger,\n ^^^^^^^^^^^^^^\n )\n ^\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 415, in _validate_from_tid\n video = _extract_first_video(category_result)\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 314, in _extract_first_video\n raise ValidationError(\"category\", \"分类视频列表为空\")\nValidationError: 分类视频列表为空\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connection.py\", line 204, in _new_conn\n sock = connection.create_connection(\n (self._dns_host, self.port),\n ...<2 lines>...\n socket_options=self.socket_options,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n raise err\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/connection.py\", line 73, in create_connection\n sock.connect(sa)\n ~~~~~~~~~~~~^^^^\nTimeoutError: timed out\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 787, in urlopen\n response = self._make_request(\n conn,\n ...<10 lines>...\n **response_kw,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 488, in _make_request\n raise new_e\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 464, in _make_request\n self._validate_conn(conn)\n ~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 1093, in _validate_conn\n conn.connect()\n ~~~~~~~~~~~~^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connection.py\", line 759, in connect\n self.sock = sock = self._new_conn()\n ~~~~~~~~~~~~~~^^\nurllib3.exceptions.ConnectTimeoutError: (<HTTPSConnection(host='www.4c44.com', port=443) at 0x7e6dabda82d0>, 'Connection to www.4c44.com timed out. (connect timeout=10)')\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/requests/adapters.py\", line 645, in send\n resp = conn.urlopen(\n method=request.method,\n ...<9 lines>...\n chunked=chunked,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 841, in urlopen\n retries = retries.increment(\n method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/retry.py\", line 535, in increment\n raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nurllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.4c44.com', port=443): Max retries exceeded with url: /list/rise.html (Caused by ConnectTimeoutError(<HTTPSConnection(host='www.4c44.com', port=443) at 0x7e6dabda82d0>, 'Connection to www.4c44.com timed out. (connect timeout=10)'))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 660, in validate_spider_file\n _validate_from_tid(\n ~~~~~~~~~~~~~~~~~~^\n spider=spider,\n ^^^^^^^^^^^^^^\n ...<6 lines>...\n logger=logger,\n ^^^^^^^^^^^^^^\n )\n ^\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 420, in _validate_from_tid\n detail_result = _run_timed(result[\"timings_ms\"], \"detail\", spider.detailContent, clock, [vod_id])\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 290, in _run_timed\n return func(*args, **kwargs)\n File \"/home/harold/workspace/tvbox-resources/py/世纪音乐.txt\", line 295, in detailContent\n File \"/home/harold/workspace/tvbox-resources/py/世纪音乐.txt\", line 52, in _fetch_html\nrequests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='www.4c44.com', port=443): Max retries exceeded with url: /list/rise.html (Caused by ConnectTimeoutError(<HTTPSConnection(host='www.4c44.com', port=443) at 0x7e6dabda82d0>, 'Connection to www.4c44.com timed out. (connect timeout=10)'))\n", "timings_ms": {"module_load": 172.832, "init": 0.001, "home": 262.447, "category": 0.004, "detail": 10012.044, "player": 0.0, "url_check": 0.0, "total": 10593.451}, "counts": {"classes": 5, "category_videos": 3, "detail_videos": 0, "episodes": 0}, "samples": {"tid": "rank_list", "vod_id": "rank:rise", "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "两个BT", "file": "两个BT.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 206.603, "init": 0.001, "home": 0.001, "category": 1271.161, "detail": 1100.795, "player": 3816.217, "url_check": 1285.319, "total": 7681.061}, "counts": {"classes": 14, "category_videos": 24, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "zgjun", "vod_id": "/play/ch45ofqjh", "flag": "两个BT", "play_id": "eyJwaWQiOiIvcGxheS9jaDQ1b2ZxamgiLCJzaWQiOiIvcGxheS9jaDQ1b2ZxamgiLCJuYW1lIjoiMSJ9"}, "player": {"parse": 0, "url": "https://zijieapi.douyinbyte.com/m3u8/e840ddaea34c2fb27da2a82c3d3cea0c.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://zijieapi.douyinbyte.com/m3u8/e840ddaea34c2fb27da2a82c3d3cea0c.m3u8", "reason": null}}, {"spider": "乌云影视", "file": "乌云影视.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 177.62, "init": 0.001, "home": 979.698, "category": 1040.87, "detail": 2400.536, "player": 0.024, "url_check": 2907.745, "total": 7525.667}, "counts": {"classes": 7, "category_videos": 24, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "movie", "vod_id": "483203", "flag": "乌云影视", "play_id": "eyJtZWRpYUlkIjogIjQ4MzIwMyIsICJzZWFzb25ObyI6IDEsICJlcE5vIjogMSwgInZpZGVvSWQiOiAxNTc2MjgzMiwgInBsYXlVcmwiOiAiaHR0cHM6Ly9kMWpkbm1rYzFuNWNuNC5jbG91ZGZyb250Lm5ldC9nZW5fb3ZlcnNlYXMvaHR0cHM6Ly9zMi5iZmxsdmlwLmNvbS92aWRlby95YW54aWF4aW5nL2E2ZWY4NTRjMGMxZi9pbmRleC5tM3U4IiwgIm5hbWUiOiAi56ysMembhiDpq5jmuIUifQ"}, "player": {"parse": 0, "url": "https://d1jdnmkc1n5cn4.cloudfront.net/gen_overseas/https://s2.bfllvip.com/video/yanxiaxing/a6ef854c0c1f/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://d1jdnmkc1n5cn4.cloudfront.net/hls_overseas/5a8d4fbdf3183806b45389166d9b25518f71cbb3.m3u8", "reason": null}}, {"spider": "乐兔", "file": "乐兔.txt", "success": false, "failed_stage": "unexpected", "error": "HTTPSConnectionPool(host='www.letu.me', port=443): Read timed out. (read timeout=10)", "traceback": "Traceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 464, in _make_request\n self._validate_conn(conn)\n ~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 1093, in _validate_conn\n conn.connect()\n ~~~~~~~~~~~~^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connection.py\", line 796, in connect\n sock_and_verified = _ssl_wrap_socket_and_match_hostname(\n sock=sock,\n ...<14 lines>...\n assert_fingerprint=self.assert_fingerprint,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connection.py\", line 975, in _ssl_wrap_socket_and_match_hostname\n ssl_sock = ssl_wrap_socket(\n sock=sock,\n ...<8 lines>...\n tls_in_tls=tls_in_tls,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/ssl_.py\", line 483, in ssl_wrap_socket\n ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostname)\nTimeoutError: _ssl.c:1063: The handshake operation timed out\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/requests/adapters.py\", line 645, in send\n resp = conn.urlopen(\n method=request.method,\n ...<9 lines>...\n chunked=chunked,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 841, in urlopen\n retries = retries.increment(\n method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/retry.py\", line 490, in increment\n raise reraise(type(error), error, _stacktrace)\n ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/util.py\", line 39, in reraise\n raise value\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 787, in urlopen\n response = self._make_request(\n conn,\n ...<10 lines>...\n **response_kw,\n )\nurllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='www.letu.me', port=443): Read timed out. (read timeout=10)\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 644, in validate_spider_file\n _validate_from_tid(\n ~~~~~~~~~~~~~~~~~~^\n spider=spider,\n ^^^^^^^^^^^^^^\n ...<6 lines>...\n logger=logger,\n ^^^^^^^^^^^^^^\n )\n ^\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 404, in _validate_from_tid\n category_result = _run_timed(result[\"timings_ms\"], \"category\", spider.categoryContent, clock, tid, \"1\", False, {})\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 290, in _run_timed\n return func(*args, **kwargs)\n File \"/home/harold/workspace/tvbox-resources/py/乐兔.txt\", line 117, in categoryContent\n File \"/home/harold/workspace/tvbox-resources/py/乐兔.txt\", line 72, in _request_html\nrequests.exceptions.ReadTimeout: HTTPSConnectionPool(host='www.letu.me', port=443): Read timed out. (read timeout=10)\n", "timings_ms": {"module_load": 194.646, "init": 0.0, "home": 0.0, "category": 10024.51, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 10222.975}, "counts": {"classes": 5, "category_videos": 0, "detail_videos": 0, "episodes": 0}, "samples": {"tid": "1", "vod_id": null, "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "二小", "file": "二小.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 165.669, "init": 0.001, "home": 0.001, "category": 2967.467, "detail": 1012.158, "player": 0.004, "url_check": 1485.242, "total": 5632.128}, "counts": {"classes": 4, "category_videos": 72, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "/index.php/vod/detail/id/12377.html", "flag": "百度#二小", "play_id": "https://pan.baidu.com/s/1689HdL9zr7VcSmUwONIWCQ?pwd=d48g"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1689HdL9zr7VcSmUwONIWCQ?pwd=d48g", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=689HdL9zr7VcSmUwONIWCQ&pwd=d48g", "reason": null}}, {"spider": "人人电影", "file": "人人电影.txt", "success": false, "failed_stage": "category", "error": "分类视频列表为空", "traceback": null, "timings_ms": {"module_load": 179.149, "init": 0.001, "home": 0.001, "category": 1531.102, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 3349.966}, "counts": {"classes": 4, "category_videos": 0, "detail_videos": 0, "episodes": 0}, "samples": {"tid": "dianshiju/list_6", "vod_id": null, "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "人人视频", "file": "人人视频.txt", "success": false, "failed_stage": "home", "error": "分类列表为空", "traceback": null, "timings_ms": {"module_load": 175.785, "init": 0.001, "home": 10031.873, "category": 0.0, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 10210.829}, "counts": {"classes": 0, "category_videos": 0, "detail_videos": 0, "episodes": 0}, "samples": {"tid": null, "vod_id": null, "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "优酷", "file": "优酷.txt", "success": false, "failed_stage": "unexpected", "error": "HTTPSConnectionPool(host='v.youku.com', port=443): Max retries exceeded with url: /v_show/id_XNjUxODQ1MzE1Ng==.html (Caused by ConnectTimeoutError(<HTTPSConnection(host='v.youku.com', port=443) at 0x7e6dabc17d90>, 'Connection to v.youku.com timed out. (connect timeout=5)'))", "traceback": "Traceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connection.py\", line 204, in _new_conn\n sock = connection.create_connection(\n (self._dns_host, self.port),\n ...<2 lines>...\n socket_options=self.socket_options,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n raise err\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/connection.py\", line 73, in create_connection\n sock.connect(sa)\n ~~~~~~~~~~~~^^^^\nTimeoutError: timed out\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 787, in urlopen\n response = self._make_request(\n conn,\n ...<10 lines>...\n **response_kw,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 488, in _make_request\n raise new_e\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 464, in _make_request\n self._validate_conn(conn)\n ~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 1093, in _validate_conn\n conn.connect()\n ~~~~~~~~~~~~^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connection.py\", line 759, in connect\n self.sock = sock = self._new_conn()\n ~~~~~~~~~~~~~~^^\nurllib3.exceptions.ConnectTimeoutError: (<HTTPSConnection(host='v.youku.com', port=443) at 0x7e6dabc17d90>, 'Connection to v.youku.com timed out. (connect timeout=5)')\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/requests/adapters.py\", line 645, in send\n resp = conn.urlopen(\n method=request.method,\n ...<9 lines>...\n chunked=chunked,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 841, in urlopen\n retries = retries.increment(\n method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/retry.py\", line 535, in increment\n raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nurllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='v.youku.com', port=443): Max retries exceeded with url: /v_show/id_XNjUxODQ1MzE1Ng==.html (Caused by ConnectTimeoutError(<HTTPSConnection(host='v.youku.com', port=443) at 0x7e6dabc17d90>, 'Connection to v.youku.com timed out. (connect timeout=5)'))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 644, in validate_spider_file\n _validate_from_tid(\n ~~~~~~~~~~~~~~~~~~^\n spider=spider,\n ^^^^^^^^^^^^^^\n ...<6 lines>...\n logger=logger,\n ^^^^^^^^^^^^^^\n )\n ^\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 420, in _validate_from_tid\n detail_result = _run_timed(result[\"timings_ms\"], \"detail\", spider.detailContent, clock, [vod_id])\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 290, in _run_timed\n return func(*args, **kwargs)\n File \"/home/harold/workspace/tvbox-resources/py/优酷.txt\", line 340, in detailContent\n File \"/home/harold/workspace/atv-spiders/py/base/spider.py\", line 145, in fetch\n rsp = requests.get(url, params=params, cookies=cookies, headers=headers, timeout=timeout, verify=verify,\n stream=stream, allow_redirects=allow_redirects)\nrequests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='v.youku.com', port=443): Max retries exceeded with url: /v_show/id_XNjUxODQ1MzE1Ng==.html (Caused by ConnectTimeoutError(<HTTPSConnection(host='v.youku.com', port=443) at 0x7e6dabc17d90>, 'Connection to v.youku.com timed out. (connect timeout=5)'))\n", "timings_ms": {"module_load": 189.523, "init": 0.001, "home": 0.001, "category": 382.865, "detail": 5262.028, "player": 0.0, "url_check": 0.0, "total": 5843.7}, "counts": {"classes": 6, "category_videos": 23, "detail_videos": 0, "episodes": 0}, "samples": {"tid": "电视剧", "vod_id": "show:dccc1a382ea3456eaa77", "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "低端影视", "file": "低端影视.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.397, "init": 0.001, "home": 0.001, "category": 1376.631, "detail": 1898.645, "player": 0.008, "url_check": 215.414, "total": 3495.559}, "counts": {"classes": 4, "category_videos": 24, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "series", "vod_id": "movie/the-darkness", "flag": "播放源 1 (1080P)", "play_id": "https://hn.bfvvs.com/play/QdJGJEge/index.m3u8"}, "player": {"parse": 0, "url": "https://hn.bfvvs.com/play/QdJGJEge/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://hn.bfvvs.com/play/QdJGJEge/index.m3u8", "reason": null}}, {"spider": "修罗", "file": "修罗.txt", "success": false, "failed_stage": "url_check", "error": "HTTP 403", "traceback": null, "timings_ms": {"module_load": 6.584, "init": 0.001, "home": 0.001, "category": 1548.996, "detail": 1476.322, "player": 2493.137, "url_check": 2401.592, "total": 16014.304}, "counts": {"classes": 4, "category_videos": 24, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "tv", "vod_id": "hanju/26880", "flag": "修罗直连", "play_id": "play/26880-0"}, "player": {"parse": 1, "url": "https://v.xlys.ltd.ua/play/26880-0.htm", "valid": false, "reachable": false, "status_code": 403, "final_url": "https://v.xlys.ltd.ua/play/26880-0.htm", "reason": "HTTP 403"}}, {"spider": "凡客TV", "file": "凡客TV.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.281, "init": 0.0, "home": 0.001, "category": 1550.422, "detail": 1479.002, "player": 2974.277, "url_check": 3023.605, "total": 9032.035}, "counts": {"classes": 8, "category_videos": 32, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "b759a032caab0687", "flag": "高速线路", "play_id": "{\"movie_id\":\"b759a032caab0687\",\"link_id\":\"ee2850af60c6cb015c2589a05c922a37\",\"line_id\":\"line1\",\"line_name\":\"高速线路\",\"episode_name\":\"1080p\",\"type\":\"switch\",\"page\":\"https://fktv.me/movie/detail/b759a032caab0687\"}"}, "player": {"parse": 0, "url": "https://fktv.me/ysapi/m3u8/p/c635ae9d054e997395ce95ddffe8402b.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://fktv.me/ysapi/m3u8/p/c635ae9d054e997395ce95ddffe8402b.m3u8", "reason": null}}, {"spider": "剧圈圈", "file": "剧圈圈.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.135, "init": 0.0, "home": 0.0, "category": 2027.522, "detail": 1438.767, "player": 4298.686, "url_check": 1348.464, "total": 9119.43}, "counts": {"classes": 5, "category_videos": 16, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "dianying", "vod_id": "vod/44943", "flag": "BF备用", "play_id": "play/44943-3-1"}, "player": {"parse": 1, "url": "https://www.jqqzx.cc/play/44943-3-1.html", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://www.jqqzx.one/play/44943-3-1.html", "reason": null}}, {"spider": "剧迷", "file": "剧迷.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 7.069, "init": 0.001, "home": 0.001, "category": 1096.007, "detail": 1444.459, "player": 3192.649, "url_check": 2043.76, "total": 13250.835}, "counts": {"classes": 6, "category_videos": 218, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "2", "vod_id": "442645", "flag": "騰訊线路 ᴴᴰ", "play_id": "442645-6-1"}, "player": {"parse": 0, "url": "https://img.ruyijx.com/m3u8/Cw0xite2IBd1Ey.m3u8?Vbf491A7MubCVcKcbh", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://img.ruyijx.com/m3u8/Cw0xite2IBd1Ey.m3u8?Vbf491A7MubCVcKcbh", "reason": null}}, {"spider": "博看听书", "file": "博看听书.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.409, "init": 0.001, "home": 3180.885, "category": 291.535, "detail": 786.084, "player": 0.002, "url_check": 272.615, "total": 4535.887}, "counts": {"classes": 11, "category_videos": 24, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1319", "vod_id": "902849", "flag": "博看听书", "play_id": "http://audio.bookan.com.cn/video1/audio/20200706001/aache64_133068a2.m4a"}, "player": {"parse": 0, "url": "http://audio.bookan.com.cn/video1/audio/20200706001/aache64_133068a2.m4a", "valid": true, "reachable": true, "status_code": 200, "final_url": "http://audio.bookan.com.cn/video1/audio/20200706001/aache64_133068a2.m4a", "reason": null}}, {"spider": "双星", "file": "双星.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.38, "init": 671.768, "home": 0.003, "category": 250.912, "detail": 197.292, "player": 0.002, "url_check": 237.963, "total": 1361.809}, "counts": {"classes": 7, "category_videos": 15, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "ju", "vod_id": "/ju/10438.html", "flag": "夸克", "play_id": "https://pan.quark.cn/s/0955c2284f45"}, "player": {"parse": 0, "url": "https://pan.quark.cn/s/0955c2284f45", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.quark.cn/s/0955c2284f45", "reason": null}}, {"spider": "听书", "file": "听书.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.582, "init": 78.369, "home": 0.001, "category": 220.058, "detail": 669.863, "player": 275.967, "url_check": 87.316, "total": 1335.736}, "counts": {"classes": 11, "category_videos": 10, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "6", "vod_id": "63", "flag": "直链", "play_id": "2926931|||63"}, "player": {"parse": 0, "url": "http://audiopay.cos.tx.xmcdn.com/download/1.0.0/storages/b817-audiopay/16/AA/GKwRIaIGGaRGADgE-gEx_hMS-aacv2-48K.m4a?sign=bcccf399e97b268454540083b0d0ffee&buy_key=FM&token=8971&timestamp=1778631165&duration=453", "valid": true, "reachable": true, "status_code": 200, "final_url": "http://audiopay.cos.tx.xmcdn.com/download/1.0.0/storages/b817-audiopay/16/AA/GKwRIaIGGaRGADgE-gEx_hMS-aacv2-48K.m4a?sign=bcccf399e97b268454540083b0d0ffee&buy_key=FM&token=8971&timestamp=1778631165&duration=453", "reason": null}}, {"spider": "听友FM", "file": "听友FM.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 8.62, "init": 0.0, "home": 1321.35, "category": 1283.165, "detail": 2035.811, "player": 2420.095, "url_check": 158.989, "total": 7229.002}, "counts": {"classes": 8, "category_videos": 20, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "46", "vod_id": "9783312385", "flag": "听友FM", "play_id": "9783312385|1"}, "player": {"parse": 0, "url": "https://file.hgeuz.cn/stream/eJwANwDI_wJVZgVKIIrU0ECux-GJ1PSt38ahythCqsH-r9TAQ4rj5F94rOjbQKjk063xyIX2z3hfeGcIHF4BAAD__5DtISY.?ts=1778631171&sign=ef9b427446f7b9dd66312b8db307a38f", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://file.hgeuz.cn/stream/eJwANwDI_wJVZgVKIIrU0ECux-GJ1PSt38ahythCqsH-r9TAQ4rj5F94rOjbQKjk063xyIX2z3hfeGcIHF4BAAD__5DtISY.?ts=1778631171&sign=ef9b427446f7b9dd66312b8db307a38f", "reason": null}}, {"spider": "四万影视", "file": "四万影视.txt", "success": false, "failed_stage": "unexpected", "error": "HTTPSConnectionPool(host='40000.me', port=443): Max retries exceeded with url: /api/maccms?ac=detail&t=20&pg=1&by=time (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1081)')))", "traceback": "Traceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 464, in _make_request\n self._validate_conn(conn)\n ~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 1093, in _validate_conn\n conn.connect()\n ~~~~~~~~~~~~^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connection.py\", line 796, in connect\n sock_and_verified = _ssl_wrap_socket_and_match_hostname(\n sock=sock,\n ...<14 lines>...\n assert_fingerprint=self.assert_fingerprint,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connection.py\", line 975, in _ssl_wrap_socket_and_match_hostname\n ssl_sock = ssl_wrap_socket(\n sock=sock,\n ...<8 lines>...\n tls_in_tls=tls_in_tls,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/ssl_.py\", line 483, in ssl_wrap_socket\n ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostname)\nssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1081)\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 787, in urlopen\n response = self._make_request(\n conn,\n ...<10 lines>...\n **response_kw,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 488, in _make_request\n raise new_e\nurllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1081)\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/requests/adapters.py\", line 645, in send\n resp = conn.urlopen(\n method=request.method,\n ...<9 lines>...\n chunked=chunked,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 841, in urlopen\n retries = retries.increment(\n method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/retry.py\", line 535, in increment\n raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nurllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='40000.me', port=443): Max retries exceeded with url: /api/maccms?ac=detail&t=20&pg=1&by=time (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1081)')))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 644, in validate_spider_file\n _validate_from_tid(\n ~~~~~~~~~~~~~~~~~~^\n spider=spider,\n ^^^^^^^^^^^^^^\n ...<6 lines>...\n logger=logger,\n ^^^^^^^^^^^^^^\n )\n ^\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 404, in _validate_from_tid\n category_result = _run_timed(result[\"timings_ms\"], \"category\", spider.categoryContent, clock, tid, \"1\", False, {})\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 290, in _run_timed\n return func(*args, **kwargs)\n File \"/home/harold/workspace/tvbox-resources/py/四万影视.txt\", line 238, in categoryContent\n File \"/home/harold/workspace/tvbox-resources/py/四万影视.txt\", line 212, in _api_get\nrequests.exceptions.SSLError: HTTPSConnectionPool(host='40000.me', port=443): Max retries exceeded with url: /api/maccms?ac=detail&t=20&pg=1&by=time (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1081)')))\n", "timings_ms": {"module_load": 4.255, "init": 0.001, "home": 0.001, "category": 823.094, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 829.378}, "counts": {"classes": 5, "category_videos": 0, "detail_videos": 0, "episodes": 0}, "samples": {"tid": "20", "vod_id": null, "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "在线之家", "file": "在线之家.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.689, "init": 0.0, "home": 0.0, "category": 973.567, "detail": 1877.232, "player": 1266.334, "url_check": 264.409, "total": 4387.676}, "counts": {"classes": 6, "category_videos": 12, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "voddetail/4601.html", "flag": "zxzj", "play_id": "vodplay/4601-1-1.html"}, "player": {"parse": 0, "url": "https://media-sxty-fy-corp.sx3oss.ctyunxs.cn/CORPCLOUD/f076ccf5-a095-45a2-b086-cbf66f4aa40d.mp4?response-content-disposition=attachment%3Bfilename%3D%22%E9%93%81%E8%A1%80%E6%88%98%E5%A3%AB%E6%9D%80%E6%88%AE%E4%B9%8B%E5%9C%B02025HD1080P.mp4%22%3Bfilename*%3DUTF-8%27%27%25E9%2593%2581%25E8%25A1%2580%25E6%2588%2598%25E5%25A3%25AB%25E6%259D%2580%25E6%2588%25AE%25E4%25B9%258B%25E5%259C%25B02025HD1080P.mp4&x-amz-CLIENTNETWORK=UNKNOWN&x-amz-CLOUDTYPEIN=CORP&x-amz-CLIENTTYPEIN=UNKNOWN&Signature=IkHr3phqtrm4X8qf%2BcAXv6ZZW%2BI%3D&AWSAccessKeyId=0Lg7dAq3ZfHvePP8DKEU&Expires=1778641369&x-amz-limitrate=102400&response-content-type=video/mp4&x-amz-FSIZE=2183471772&x-amz-UID=10000004591358&x-amz-UFID=31374317010337932", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://media-sxty-fy-corp.sx3oss.ctyunxs.cn/CORPCLOUD/f076ccf5-a095-45a2-b086-cbf66f4aa40d.mp4?response-content-disposition=attachment%3Bfilename%3D%22%E9%93%81%E8%A1%80%E6%88%98%E5%A3%AB%E6%9D%80%E6%88%AE%E4%B9%8B%E5%9C%B02025HD1080P.mp4%22%3Bfilename*%3DUTF-8%27%27%25E9%2593%2581%25E8%25A1%2580%25E6%2588%2598%25E5%25A3%25AB%25E6%259D%2580%25E6%2588%25AE%25E4%25B9%258B%25E5%259C%25B02025HD1080P.mp4&x-amz-CLIENTNETWORK=UNKNOWN&x-amz-CLOUDTYPEIN=CORP&x-amz-CLIENTTYPEIN=UNKNOWN&Signature=IkHr3phqtrm4X8qf%2BcAXv6ZZW%2BI%3D&AWSAccessKeyId=0Lg7dAq3ZfHvePP8DKEU&Expires=1778641369&x-amz-limitrate=102400&response-content-type=video/mp4&x-amz-FSIZE=2183471772&x-amz-UID=10000004591358&x-amz-UFID=31374317010337932", "reason": null}}, {"spider": "多多", "file": "多多.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.424, "init": 0.001, "home": 0.001, "category": 871.662, "detail": 675.086, "player": 0.005, "url_check": 4781.759, "total": 6333.394}, "counts": {"classes": 6, "category_videos": 72, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "/index.php/vod/detail/id/9451.html", "flag": "百度#多多", "play_id": "https://pan.baidu.com/s/1shl4w4dRUpSfwkkyQjUDBw?pwd=yyds"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1shl4w4dRUpSfwkkyQjUDBw?pwd=yyds", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=shl4w4dRUpSfwkkyQjUDBw&pwd=yyds", "reason": null}}, {"spider": "奕搜", "file": "奕搜.txt", "success": false, "failed_stage": "unexpected", "error": "HTTPSConnectionPool(host='www.binhd.com', port=443): Max retries exceeded with url: / (Caused by ConnectTimeoutError(<HTTPSConnection(host='www.binhd.com', port=443) at 0x7e6dab803c50>, 'Connection to www.binhd.com timed out. (connect timeout=10)'))", "traceback": "Traceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 644, in validate_spider_file\n _validate_from_tid(\n ~~~~~~~~~~~~~~~~~~^\n spider=spider,\n ^^^^^^^^^^^^^^\n ...<6 lines>...\n logger=logger,\n ^^^^^^^^^^^^^^\n )\n ^\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 415, in _validate_from_tid\n video = _extract_first_video(category_result)\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 314, in _extract_first_video\n raise ValidationError(\"category\", \"分类视频列表为空\")\nValidationError: 分类视频列表为空\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connection.py\", line 204, in _new_conn\n sock = connection.create_connection(\n (self._dns_host, self.port),\n ...<2 lines>...\n socket_options=self.socket_options,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n raise err\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/connection.py\", line 73, in create_connection\n sock.connect(sa)\n ~~~~~~~~~~~~^^^^\nTimeoutError: timed out\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 787, in urlopen\n response = self._make_request(\n conn,\n ...<10 lines>...\n **response_kw,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 488, in _make_request\n raise new_e\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 464, in _make_request\n self._validate_conn(conn)\n ~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 1093, in _validate_conn\n conn.connect()\n ~~~~~~~~~~~~^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connection.py\", line 759, in connect\n self.sock = sock = self._new_conn()\n ~~~~~~~~~~~~~~^^\nurllib3.exceptions.ConnectTimeoutError: (<HTTPSConnection(host='www.binhd.com', port=443) at 0x7e6dab803c50>, 'Connection to www.binhd.com timed out. (connect timeout=10)')\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/requests/adapters.py\", line 645, in send\n resp = conn.urlopen(\n method=request.method,\n ...<9 lines>...\n chunked=chunked,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 841, in urlopen\n retries = retries.increment(\n method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/retry.py\", line 535, in increment\n raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nurllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.binhd.com', port=443): Max retries exceeded with url: / (Caused by ConnectTimeoutError(<HTTPSConnection(host='www.binhd.com', port=443) at 0x7e6dab803c50>, 'Connection to www.binhd.com timed out. (connect timeout=10)'))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 660, in validate_spider_file\n _validate_from_tid(\n ~~~~~~~~~~~~~~~~~~^\n spider=spider,\n ^^^^^^^^^^^^^^\n ...<6 lines>...\n logger=logger,\n ^^^^^^^^^^^^^^\n )\n ^\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 404, in _validate_from_tid\n category_result = _run_timed(result[\"timings_ms\"], \"category\", spider.categoryContent, clock, tid, \"1\", False, {})\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 290, in _run_timed\n return func(*args, **kwargs)\n File \"/home/harold/workspace/tvbox-resources/py/奕搜.txt\", line 108, in categoryContent\n File \"/home/harold/workspace/tvbox-resources/py/奕搜.txt\", line 73, in _request_html\nrequests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='www.binhd.com', port=443): Max retries exceeded with url: / (Caused by ConnectTimeoutError(<HTTPSConnection(host='www.binhd.com', port=443) at 0x7e6dab803c50>, 'Connection to www.binhd.com timed out. (connect timeout=10)'))\n", "timings_ms": {"module_load": 7.056, "init": 0.001, "home": 0.001, "category": 10907.896, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 12640.314}, "counts": {"classes": 6, "category_videos": 0, "detail_videos": 0, "episodes": 0}, "samples": {"tid": "dsj", "vod_id": null, "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "如意资源", "file": "如意资源.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.104, "init": 0.001, "home": 0.008, "category": 2542.185, "detail": 3127.014, "player": 0.005, "url_check": 1563.662, "total": 7237.911}, "counts": {"classes": 6, "category_videos": 20, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "77018", "flag": "rym3u8", "play_id": "https://svip.ryiplay18.com/20260512/6346_e524dfd0/index.m3u8"}, "player": {"parse": 0, "url": "https://svip.ryiplay18.com/20260512/6346_e524dfd0/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://svip.ryiplay18.com/20260512/6346_e524dfd0/index.m3u8", "reason": null}}, {"spider": "布布影视", "file": "布布影视.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.788, "init": 0.001, "home": 0.001, "category": 1325.842, "detail": 1094.167, "player": 1776.251, "url_check": 406.181, "total": 4609.216}, "counts": {"classes": 4, "category_videos": 24, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "69765", "flag": "JD蓝光(1)", "play_id": "JD4K@1@JD-5f4f247d6dfbc0b5d5cb1efeaa2303790"}, "player": {"parse": 0, "url": "https://c167-obsdaz-ykj-01.obs.dualstack.cidc-rp-2006.joint.cmecloud.cn/1810c8ff2a78456b9348fadfe7ab0fd0086?response-content-disposition=attachment%3B%20filename%2A%3DUTF-8%27%274K.mp4&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20260513T001251Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86400&X-Amz-Credential=AH4RWOMWLEL7ROYSF2S5%2F20260513%2Fcidc-rp-2006%2Fs3%2Faws4_request&t=2&u=1261698636582652615&ot=family&oi=1263000283947275586&f=FibTFWRt8ncqZsYDWQP5LF5BI3oB5_LXK&ext=eyJ1dCI6MX0%3D&X-Amz-Signature=7a7d0b8248395d36ebd90e1e068075dd5976078b2c70831dbc71d794aa2c5815", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://c167-obsdaz-ykj-01.obs.dualstack.cidc-rp-2006.joint.cmecloud.cn/1810c8ff2a78456b9348fadfe7ab0fd0086?response-content-disposition=attachment%3B%20filename%2A%3DUTF-8%27%274K.mp4&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20260513T001251Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86400&X-Amz-Credential=AH4RWOMWLEL7ROYSF2S5%2F20260513%2Fcidc-rp-2006%2Fs3%2Faws4_request&t=2&u=1261698636582652615&ot=family&oi=1263000283947275586&f=FibTFWRt8ncqZsYDWQP5LF5BI3oB5_LXK&ext=eyJ1dCI6MX0%3D&X-Amz-Signature=7a7d0b8248395d36ebd90e1e068075dd5976078b2c70831dbc71d794aa2c5815", "reason": null}}, {"spider": "微观短剧", "file": "微观短剧.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.895, "init": 0.017, "home": 180.978, "category": 271.012, "detail": 354.216, "player": 0.002, "url_check": 124.455, "total": 936.075}, "counts": {"classes": 30, "category_videos": 30, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "都市", "vod_id": "110000044555935694", "flag": "1080P", "play_id": "https://tv-video.cdn.drama.9ddm.com/22/A0/22A0BFFF46651CC23355B115F6307653.mp4?timestamp=1778631169&sign=4c21ad531e9bf909177c25f40def90e9"}, "player": {"parse": 0, "url": "https://tv-video.cdn.drama.9ddm.com/22/A0/22A0BFFF46651CC23355B115F6307653.mp4?timestamp=1778631169&sign=4c21ad531e9bf909177c25f40def90e9", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://tv-video.cdn.drama.9ddm.com/22/A0/22A0BFFF46651CC23355B115F6307653.mp4?timestamp=1778631169&sign=4c21ad531e9bf909177c25f40def90e9", "reason": null}}, {"spider": "新韩剧网", "file": "新韩剧网.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.856, "init": 0.0, "home": 0.0, "category": 756.363, "detail": 740.316, "player": 710.693, "url_check": 1465.499, "total": 3679.779}, "counts": {"classes": 5, "category_videos": 16, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "3635", "flag": "在线云播", "play_id": "3635_1_1"}, "player": {"parse": 0, "url": "https://cdn.vvvip-plays33.cc/20260420/12456_6a9edcb7/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://cdn.vvvip-plays33.cc/20260420/12456_6a9edcb7/index.m3u8", "reason": null}}, {"spider": "星星短剧", "file": "星星短剧.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.086, "init": 0.0, "home": 0.0, "category": 446.758, "detail": 691.173, "player": 0.003, "url_check": 204.829, "total": 1346.213}, "counts": {"classes": 5, "category_videos": 10, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1287", "vod_id": "422599939194881@@穿越诡计爱上你@@苏清韵为了给妹妹治病,卖身富豪被卓熙辰所救,答应卓熙辰的契约婚姻。苏清韵受到了爱慕卓熙辰的上官溪玲的疯狂攻击与算计,导致妹妹离世。苏清韵误会记恨卓熙辰因此拿刀伤了他,自己也被判入狱五年。", "flag": "星星短剧", "play_id": "https://img.novel.wsljf.xyz/shortPlay-mp4/420424102051841/EvnIm1746774634078/abc6208e-390b-4533-a1a4-b9e5741cc384/540x960/output.m3u8"}, "player": {"parse": 0, "url": "https://img.novel.wsljf.xyz/shortPlay-mp4/420424102051841/EvnIm1746774634078/abc6208e-390b-4533-a1a4-b9e5741cc384/540x960/output.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://img.novel.wsljf.xyz/shortPlay-mp4/420424102051841/EvnIm1746774634078/abc6208e-390b-4533-a1a4-b9e5741cc384/540x960/output.m3u8", "reason": null}}, {"spider": "木偶", "file": "木偶.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.737, "init": 0.001, "home": 0.001, "category": 1079.986, "detail": 953.314, "player": 0.008, "url_check": 287.768, "total": 2325.317}, "counts": {"classes": 7, "category_videos": 72, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "25", "vod_id": "/index.php/vod/detail/id/7874.html", "flag": "115#木偶", "play_id": "https://115cdn.com/s/swf0j3z36dh?password=f385"}, "player": {"parse": 0, "url": "https://115cdn.com/s/swf0j3z36dh?password=f385", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://115cdn.com/s/swf0j3z36dh?password=f385", "reason": null}}, {"spider": "樱花动漫", "file": "樱花动漫.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.645, "init": 0.001, "home": 0.0, "category": 2315.187, "detail": 2271.431, "player": 4118.46, "url_check": 2535.275, "total": 11245.699}, "counts": {"classes": 4, "category_videos": 36, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "guoman", "vod_id": "/detail/711/", "flag": "高清", "play_id": "/play/711-1-1/"}, "player": {"parse": 0, "url": "https://yzzy1.play-cdn16.com/20230503/4012_61589bd1/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://yzzy1.play-cdn16.com/20230503/4012_61589bd1/index.m3u8", "reason": null}}, {"spider": "橘子TV", "file": "橘子TV.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.067, "init": 3607.161, "home": 1285.869, "category": 2264.152, "detail": 2822.546, "player": 8258.33, "url_check": 2424.875, "total": 20667.973}, "counts": {"classes": 8, "category_videos": 18, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "50", "vod_id": "385943", "flag": "一起看APP", "play_id": "24861447"}, "player": {"parse": 0, "url": "https://usaydd.zvoz3tsd.com/m3u87/share/6937197/7133173/20260414/171420/1080/index.m3u8?sign=8b68033c4e2495d6ef4dda98df3fbc98&t=1778631184", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://usaydd.zvoz3tsd.com/m3u87/share/6937197/7133173/20260414/171420/1080/index.m3u8?sign=8b68033c4e2495d6ef4dda98df3fbc98&t=1778631184", "reason": null}}, {"spider": "欧歌", "file": "欧歌.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.032, "init": 0.001, "home": 0.0, "category": 998.026, "detail": 811.984, "player": 0.007, "url_check": 1136.678, "total": 2951.303}, "counts": {"classes": 6, "category_videos": 72, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "/index.php/vod/detail/id/29938.html", "flag": "百度", "play_id": "https://pan.baidu.com/s/1vcYSB0ydxgAzc-1Tvg63oA?pwd=8888"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1vcYSB0ydxgAzc-1Tvg63oA?pwd=8888", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=vcYSB0ydxgAzc-1Tvg63oA&pwd=8888", "reason": null}}, {"spider": "河马短剧", "file": "河马短剧.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 7.523, "init": 0.001, "home": 400.359, "category": 687.773, "detail": 1138.74, "player": 0.021, "url_check": 176.771, "total": 2412.268}, "counts": {"classes": 10, "category_videos": 10, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "462", "vod_id": "/drama/41000186435@@听见胎宝心声后,我逆袭了", "flag": "河马剧场", "play_id": "https://dzzt-video.cbread.cn/a86727f6059a3f297c708bcfcc914c4f/6a04f460/58/5x3/53x4/534x6/53468100014/612428785_1/612428785.720p.narrowv3.mp4"}, "player": {"parse": 0, "url": "https://dzzt-video.cbread.cn/a86727f6059a3f297c708bcfcc914c4f/6a04f460/58/5x3/53x4/534x6/53468100014/612428785_1/612428785.720p.narrowv3.mp4", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://dzzt-video.cbread.cn/a86727f6059a3f297c708bcfcc914c4f/6a04f460/58/5x3/53x4/534x6/53468100014/612428785_1/612428785.720p.narrowv3.mp4", "reason": null}}, {"spider": "滴答影视", "file": "滴答影视.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.68, "init": 0.0, "home": 0.001, "category": 1017.575, "detail": 783.602, "player": 0.004, "url_check": 1045.861, "total": 2852.355}, "counts": {"classes": 5, "category_videos": 48, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "detail/3033", "flag": "百度", "play_id": "https://pan.baidu.com/s/1D_ftrHBRkMlxRs_aLWExxQ?pwd=p4uw"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1D_ftrHBRkMlxRs_aLWExxQ?pwd=p4uw", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=D_ftrHBRkMlxRs_aLWExxQ&pwd=p4uw", "reason": null}}, {"spider": "潮流APP", "file": "潮流APP.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.495, "init": 0.002, "home": 111.953, "category": 118.924, "detail": 155.635, "player": 300.117, "url_check": 79.719, "total": 771.508}, "counts": {"classes": 10, "category_videos": 12, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "10", "vod_id": "75722", "flag": "线路二 (点击换线)", "play_id": "75722@@0@@0"}, "player": {"parse": 0, "url": "http://210.16.164.82:9090/nby/m3u8/getM3u8?name=jx.91by.top&time=1778631193811&url=NBY-e84585334a25c5b49078dfac81549a0b.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "http://210.16.164.82:9090/nby/m3u8/getM3u8?name=jx.91by.top&time=1778631193811&url=NBY-e84585334a25c5b49078dfac81549a0b.m3u8", "reason": null}}, {"spider": "爱奇艺", "file": "爱奇艺.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 11.626, "init": 0.017, "home": 3711.357, "category": 845.419, "detail": 297.445, "player": 0.001, "url_check": 165.405, "total": 5032.52}, "counts": {"classes": 11, "category_videos": 48, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "pcw:1", "vod_id": "pcw:1$3136167655271600", "flag": "爱奇艺", "play_id": "http://www.iqiyi.com/v_vd55wo89uk.html"}, "player": {"parse": 1, "url": "http://www.iqiyi.com/v_vd55wo89uk.html", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://www.iqiyi.com/v_vd55wo89uk.html", "reason": null}}, {"spider": "独播库", "file": "独播库.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.265, "init": 0.001, "home": 0.001, "category": 786.793, "detail": 855.523, "player": 781.058, "url_check": 1789.231, "total": 4217.407}, "counts": {"classes": 6, "category_videos": 48, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "index", "vod_id": "143559", "flag": "独播库", "play_id": "143559-1-1"}, "player": {"parse": 0, "url": "https://vid.dbokutv.com/20260421/ppotb62-S71lT2yliZApDBSvkYzBsrmD3fpCJ4nBsHbTcyo5xOy6ejP6DoBJ0nBJ0oCJT1D491HIvjS34/chunklist.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://vid.dbokutv.com/20260421/ppotb62-S71lT2yliZApDBSvkYzBsrmD3fpCJ4nBsHbTcyo5xOy6ejP6DoBJ0nBJ0oCJT1D491HIvjS34/chunklist.m3u8", "reason": null}}, {"spider": "玩偶哥哥", "file": "玩偶哥哥.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.602, "init": 0.0, "home": 0.0, "category": 849.203, "detail": 993.707, "player": 0.01, "url_check": 1049.445, "total": 2896.587}, "counts": {"classes": 8, "category_videos": 70, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "/voddetail/124587.html", "flag": "百度#玩偶哥哥", "play_id": "https://pan.baidu.com/s/1Nkhrp7zi-uQnuYFbpFpEew?pwd=wogg"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1Nkhrp7zi-uQnuYFbpFpEew?pwd=wogg", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=Nkhrp7zi-uQnuYFbpFpEew&pwd=wogg", "reason": null}}, {"spider": "玩偶聚合", "file": "玩偶聚合.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 7.604, "init": 0.001, "home": 0.072, "category": 1157.746, "detail": 1147.513, "player": 0.003, "url_check": 931.755, "total": 3245.385}, "counts": {"classes": 10, "category_videos": 70, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "site_wanou", "vod_id": "site:wanou:/voddetail/123913.html", "flag": "百度#玩偶", "play_id": "https://pan.baidu.com/s/12EOQsYLsEThIusO7a2QCWw?pwd=wogg"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/12EOQsYLsEThIusO7a2QCWw?pwd=wogg", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=2EOQsYLsEThIusO7a2QCWw&pwd=wogg", "reason": null}}, {"spider": "瓜子", "file": "瓜子.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 9.44, "init": 0.001, "home": 0.02, "category": 1098.989, "detail": 2970.326, "player": 1888.376, "url_check": 177.147, "total": 6145.254}, "counts": {"classes": 5, "category_videos": 30, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "128782", "flag": "1080", "play_id": "vod_d_id=128782&vurl_id=3323715&domain_type=8&resolution=1080&type=play"}, "player": {"parse": 0, "url": "https://vd.hxcztech.com/3e86d333c0aa12cdd3648e4b638e1269/20260513081256/decry/vd/20260311/MjYwZjE1YTRkO/172631/1998_1080/aac/h264/hls/decrypt/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://app.xn--55qx2ai23bz99b.cn/index.m3u8", "reason": null}}, {"spider": "百度短剧", "file": "百度短剧.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.91, "init": 0.001, "home": 762.765, "category": 228.821, "detail": 731.619, "player": 254.692, "url_check": 173.08, "total": 8332.255}, "counts": {"classes": 29, "category_videos": 9, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "4", "vod_id": "9611760084032752489", "flag": "百度短剧", "play_id": "4071014482032913076|||9611760084032752489"}, "player": {"parse": 0, "url": "http://vd2.bdstatic.com/mda-rjgah9vxuxi515ss/720p/mv_cae264_backtrack_720p_normal/1760720956542234290/mda-rjgah9vxuxi515ss.mp4?v_from_s=haokan-ui-video-hna", "valid": true, "reachable": true, "status_code": 200, "final_url": "http://vd2.bdstatic.com/mda-rjgah9vxuxi515ss/720p/mv_cae264_backtrack_720p_normal/1760720956542234290/mda-rjgah9vxuxi515ss.mp4?v_from_s=haokan-ui-video-hna", "reason": null}}, {"spider": "盘Ta", "file": "盘Ta.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 4.061, "init": 0.001, "home": 381.544, "category": 300.512, "detail": 296.546, "player": 0.022, "url_check": 150.435, "total": 1133.703}, "counts": {"classes": 8, "category_videos": 30, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "?tagId=39765285016165", "vod_id": "thread?topicId=264430", "flag": "移动", "play_id": "https://yun.139.com/shareweb/%23/w/i/2sUfBKpu5QBqz"}, "player": {"parse": 0, "url": "https://yun.139.com/shareweb/#/w/i/2sUfBKpu5QBqz", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://yun.139.com/shareweb/#/w/i/2sUfBKpu5QBqz", "reason": null}}, {"spider": "盘聚", "file": "盘聚.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.608, "init": 0.001, "home": 0.0, "category": 731.236, "detail": 1759.4, "player": 1831.768, "url_check": 1378.405, "total": 5706.888}, "counts": {"classes": 4, "category_videos": 20, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "/", "vod_id": "/movies/134742/", "flag": "百度1", "play_id": "push://https://www.seedhub.cc/link_start/?redirect_to=pan_id_571535&movie_title=❤️❤️❤️【飞驰人生3】【4K 1080P】更新于 ✅ 今天"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1NiQJW0DJBw8FR_Y1_k8Yig?pwd=ojmk", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=NiQJW0DJBw8FR_Y1_k8Yig&pwd=ojmk", "reason": null}}, {"spider": "短剧优选", "file": "短剧优选.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 22.207, "init": 585.348, "home": 0.096, "category": 501.351, "detail": 617.606, "player": 0.003, "url_check": 79.484, "total": 1807.264}, "counts": {"classes": 11, "category_videos": 72, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "七猫", "vod_id": "七猫@24333", "flag": "七猫短剧", "play_id": "https://cdn-vod-playlet.wtzw.com/asset/b936eac78f199fd865afbe3c5b707e7f/play_multi_video/6f7310c287644b7c813ab8e2eb7a4a0c/f1223068052dd7f1bc88718af4b2c0e4.m3u8"}, "player": {"parse": 0, "url": "https://cdn-vod-playlet.wtzw.com/asset/b936eac78f199fd865afbe3c5b707e7f/play_multi_video/6f7310c287644b7c813ab8e2eb7a4a0c/f1223068052dd7f1bc88718af4b2c0e4.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://cdn-vod-playlet.wtzw.com/asset/b936eac78f199fd865afbe3c5b707e7f/play_multi_video/6f7310c287644b7c813ab8e2eb7a4a0c/f1223068052dd7f1bc88718af4b2c0e4.m3u8", "reason": null}}, {"spider": "短剧网", "file": "短剧网.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.952, "init": 0.0, "home": 0.0, "category": 3145.395, "detail": 1910.629, "player": 0.006, "url_check": 1096.76, "total": 6157.227}, "counts": {"classes": 2, "category_videos": 20, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "https://sm3.cc/?id=50186", "flag": "百度", "play_id": "https://pan.baidu.com/s/12ldsvDaQm1JCbRl0C0H2Uw?pwd=6666"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/12ldsvDaQm1JCbRl0C0H2Uw?pwd=6666", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=2ldsvDaQm1JCbRl0C0H2Uw&pwd=6666", "reason": null}}, {"spider": "糯米", "file": "糯米.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 6.987, "init": 0.0, "home": 390.11, "category": 711.156, "detail": 158.415, "player": 303.571, "url_check": 352.606, "total": 1923.55}, "counts": {"classes": 7, "category_videos": 81, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "/vod-type-id-1-pg-1.html", "vod_id": "/vod-detail-id-90063.html", "flag": "uvw", "play_id": "/vod-play-id-90063-src-1-num-1.html"}, "player": {"parse": 0, "url": "https://vip.123pan.cn/1853039965/dy/东北往事极恶不赦.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://vip.123pan.cn/1853039965/dy/%E4%B8%9C%E5%8C%97%E5%BE%80%E4%BA%8B%E6%9E%81%E6%81%B6%E4%B8%8D%E8%B5%A6.m3u8", "reason": null}}, {"spider": "红果短剧", "file": "红果短剧.txt", "success": false, "failed_stage": "category", "error": "分类视频列表为空", "traceback": null, "timings_ms": {"module_load": 3.716, "init": 0.001, "home": 0.001, "category": 246.962, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 458.169}, "counts": {"classes": 60, "category_videos": 0, "detail_videos": 0, "episodes": 0}, "samples": {"tid": "霸总", "vod_id": null, "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "网易云音乐", "file": "网易云音乐.txt", "success": false, "failed_stage": "unexpected", "error": "Expecting value: line 1 column 1 (char 0)", "traceback": "Traceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/requests/models.py\", line 978, in json\n return complexjson.loads(self.text, **kwargs)\n ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^\n File \"/home/harold/.local/share/uv/python/cpython-3.14.3-linux-x86_64-gnu/lib/python3.14/json/__init__.py\", line 352, in loads\n return _default_decoder.decode(s)\n ~~~~~~~~~~~~~~~~~~~~~~~^^^\n File \"/home/harold/.local/share/uv/python/cpython-3.14.3-linux-x86_64-gnu/lib/python3.14/json/decoder.py\", line 345, in decode\n obj, end = self.raw_decode(s, idx=_w(s, 0).end())\n ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/harold/.local/share/uv/python/cpython-3.14.3-linux-x86_64-gnu/lib/python3.14/json/decoder.py\", line 363, in raw_decode\n raise JSONDecodeError(\"Expecting value\", s, err.value) from None\njson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 644, in validate_spider_file\n _validate_from_tid(\n ~~~~~~~~~~~~~~~~~~^\n spider=spider,\n ^^^^^^^^^^^^^^\n ...<6 lines>...\n logger=logger,\n ^^^^^^^^^^^^^^\n )\n ^\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 445, in _validate_from_tid\n player_result = _run_timed(result[\"timings_ms\"], \"player\", spider.playerContent, clock, play[\"flag\"], play[\"play_id\"], [])\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 290, in _run_timed\n return func(*args, **kwargs)\n File \"/home/harold/workspace/tvbox-resources/py/网易云音乐.txt\", line 124, in playerContent\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/requests/models.py\", line 982, in json\n raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\nrequests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)\n", "timings_ms": {"module_load": 3.552, "init": 0.0, "home": 541.941, "category": 549.278, "detail": 0.006, "player": 196.652, "url_check": 0.0, "total": 1295.269}, "counts": {"classes": 62, "category_videos": 100, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "/discover/toplist?id=19723756", "vod_id": "3358416851@坠夏@曾舜晞👉MP3", "flag": "网易云音乐", "play_id": "3358416851"}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "耐视点播", "file": "耐视点播.txt", "success": false, "failed_stage": "category", "error": "分类视频列表为空", "traceback": null, "timings_ms": {"module_load": 4.109, "init": 0.0, "home": 0.0, "category": 3813.811, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 7818.186}, "counts": {"classes": 6, "category_videos": 0, "detail_videos": 0, "episodes": 0}, "samples": {"tid": "2", "vod_id": null, "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "腾讯视频", "file": "腾讯视频.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 7.86, "init": 0.001, "home": 1103.629, "category": 313.787, "detail": 756.109, "player": 0.002, "url_check": 192.219, "total": 2374.259}, "counts": {"classes": 7, "category_videos": 12, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "choice", "vod_id": "choice$mzc002009g0nh88", "flag": "腾讯视频", "play_id": "https://v.qq.com/x/cover/mzc002009g0nh88/w4102d4f4ur.html"}, "player": {"parse": 1, "url": "https://v.qq.com/x/cover/mzc002009g0nh88/w4102d4f4ur.html", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://v.qq.com/x/cover/mzc002009g0nh88/w4102d4f4ur.html", "reason": null}}, {"spider": "至臻", "file": "至臻.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.611, "init": 0.001, "home": 0.0, "category": 2746.442, "detail": 2563.429, "player": 0.004, "url_check": 1101.76, "total": 6415.753}, "counts": {"classes": 7, "category_videos": 72, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "/index.php/vod/detail/id/20396.html", "flag": "百度#至臻", "play_id": "https://pan.baidu.com/s/1689HdL9zr7VcSmUwONIWCQ?pwd=d48g"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1689HdL9zr7VcSmUwONIWCQ?pwd=d48g", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=689HdL9zr7VcSmUwONIWCQ&pwd=d48g", "reason": null}}, {"spider": "茶杯狐", "file": "茶杯狐.txt", "success": false, "failed_stage": "url_check", "error": "HTTP 404", "traceback": null, "timings_ms": {"module_load": 8.076, "init": 0.001, "home": 2456.761, "category": 2215.996, "detail": 2173.248, "player": 4240.758, "url_check": 2565.432, "total": 27287.007}, "counts": {"classes": 4, "category_videos": 36, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "2", "vod_id": "detail/video/115170", "flag": "LZ有广20", "play_id": "play/115170-1-1"}, "player": {"parse": 0, "url": "https://v.lzcdn27.com/20251017/1834_10d95d60/index.m3u8", "valid": false, "reachable": false, "status_code": 404, "final_url": "https://v.lzcdn27.com/20251017/1834_10d95d60/index.m3u8", "reason": "HTTP 404"}}, {"spider": "虎斑", "file": "虎斑.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 6.037, "init": 0.001, "home": 0.001, "category": 1279.264, "detail": 3700.326, "player": 0.015, "url_check": 1520.34, "total": 6506.506}, "counts": {"classes": 6, "category_videos": 72, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "/index.php/vod/detail/id/457000.html", "flag": "百度#虎斑", "play_id": "https://pan.baidu.com/s/1GKSe_diot0JTvBKG-pr9Ew?pwd=4864"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1GKSe_diot0JTvBKG-pr9Ew?pwd=4864", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=GKSe_diot0JTvBKG-pr9Ew&pwd=4864", "reason": null}}, {"spider": "蜡笔", "file": "蜡笔.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.895, "init": 0.0, "home": 0.001, "category": 2350.086, "detail": 1820.803, "player": 0.006, "url_check": 1213.965, "total": 5389.223}, "counts": {"classes": 7, "category_videos": 72, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "29", "vod_id": "/index.php/vod/detail/id/11277.html", "flag": "百度#蜡笔", "play_id": "https://pan.baidu.com/s/1NiPgbk9_FIhSYfmGm-Cqxg?pwd=q5m6"}, "player": {"parse": 0, "url": "https://pan.baidu.com/s/1NiPgbk9_FIhSYfmGm-Cqxg?pwd=q5m6", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.baidu.com/share/init?surl=NiPgbk9_FIhSYfmGm-Cqxg&pwd=q5m6", "reason": null}}, {"spider": "袋鼠影视", "file": "袋鼠影视.txt", "success": false, "failed_stage": "url_check", "error": "HTTP 403", "traceback": null, "timings_ms": {"module_load": 6.929, "init": 0.001, "home": 0.001, "category": 2230.699, "detail": 1938.755, "player": 1897.349, "url_check": 3084.179, "total": 17923.038}, "counts": {"classes": 4, "category_videos": 36, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "2", "vod_id": "movie/index414845", "flag": "蓝光专线4", "play_id": "play/414845-0-0"}, "player": {"parse": 0, "url": "https://vip.dytt-kan.com/20260422/13833_08b94fd9/index.m3u8", "valid": false, "reachable": false, "status_code": 403, "final_url": "https://vip.dytt-kan.com/20260422/13833_08b94fd9/index.m3u8", "reason": "HTTP 403"}}, {"spider": "路漫漫", "file": "路漫漫.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 6.71, "init": 0.001, "home": 0.001, "category": 2392.341, "detail": 2138.564, "player": 4333.182, "url_check": 202.822, "total": 9074.188}, "counts": {"classes": 6, "category_videos": 20, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "6", "vod_id": "detail/8037.html", "flag": "播放节点列表X dev云播 聚合线路", "play_id": "play/8037_1_1.html"}, "player": {"parse": 0, "url": "https://groupvideo.photo.qq.com/1071_0bc3bec5uaaftyanzdwp35usucie3ieqlwsa.f0.mp4?dis_k=b1d4daa7cd72dda4047b897f2fba4237&dis_t=1778630457", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://groupvideo.photo.qq.com/1071_0bc3bec5uaaftyanzdwp35usucie3ieqlwsa.f0.mp4?dis_k=b1d4daa7cd72dda4047b897f2fba4237&dis_t=1778630457", "reason": null}}, {"spider": "酷我听书", "file": "酷我听书.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.614, "init": 0.0, "home": 389.097, "category": 101.177, "detail": 206.833, "player": 141.009, "url_check": 76.424, "total": 5006.24}, "counts": {"classes": 4, "category_videos": 21, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "37", "vod_id": "27097583", "flag": "酷我听书", "play_id": "free|213913912"}, "player": {"parse": 0, "url": "http://cz.sycdn.kuwo.cn/74ea78283bebb4db2b91b5684af17c36/6a03c20e/resource/m1/34/31/3390639861.wma?bitrate$128&format$wma&source$kwplayerhd_ar_4.3.0.8_tianbao_T1A_qirui.apk&type$convert_url_with_sign&user$&loginUid$", "valid": true, "reachable": true, "status_code": 200, "final_url": "http://cz.sycdn.kuwo.cn/74ea78283bebb4db2b91b5684af17c36/6a03c20e/resource/m1/34/31/3390639861.wma?bitrate$128&format$wma&source$kwplayerhd_ar_4.3.0.8_tianbao_T1A_qirui.apk&type$convert_url_with_sign&user$&loginUid$", "reason": null}}, {"spider": "酷狗音乐", "file": "酷狗音乐.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 7.511, "init": 514.942, "home": 338.186, "category": 241.498, "detail": 323.199, "player": 325.101, "url_check": 74.885, "total": 1827.337}, "counts": {"classes": 12, "category_videos": 15, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "recommend", "vod_id": "467941992", "flag": "酷狗音乐", "play_id": "467941992"}, "player": {"parse": 0, "url": "http://fsdg360.hw.kugou.com/202605130812/45bd5f724bd94dca09a8fd3d8caa1b2c/v3/28b8b6fd4d0285979bd8fd9474ffa37c/yp/p_0_960123/ap1013_us0_mic85f71c379c462618de1399950957c33_pi6101_mx467941992_qu128_s374869018.mp3?ft=car_203559_10049&fts=b05bb02d44717442054bac7624ed9a29&ext=.mp3", "valid": true, "reachable": true, "status_code": 200, "final_url": "http://fsdg360.hw.kugou.com/202605130812/45bd5f724bd94dca09a8fd3d8caa1b2c/v3/28b8b6fd4d0285979bd8fd9474ffa37c/yp/p_0_960123/ap1013_us0_mic85f71c379c462618de1399950957c33_pi6101_mx467941992_qu128_s374869018.mp3?ft=car_203559_10049&fts=b05bb02d44717442054bac7624ed9a29&ext=.mp3", "reason": null}}, {"spider": "金牌", "file": "金牌.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 6.562, "init": 0.001, "home": 704.293, "category": 241.478, "detail": 231.236, "player": 247.224, "url_check": 519.328, "total": 1950.817}, "counts": {"classes": 4, "category_videos": 30, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "143230", "flag": "金牌线路", "play_id": "143230@1271963"}, "player": {"parse": 0, "url": "https://ppvod011.blbtgg.com/splitOut/20260318/1267932/V20260318194542050871267932/index.m3u8?auth_key=1778631179-3c68ca72a12546fb94f3eacda478b1c0-0-c7846151dffba858600002db48afd0a7", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://ppvod011.blbtgg.com/splitOut/20260318/1267932/V20260318194542050871267932/index.m3u8?auth_key=1778631179-3c68ca72a12546fb94f3eacda478b1c0-0-c7846151dffba858600002db48afd0a7", "reason": null}}, {"spider": "闪电", "file": "闪电.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.944, "init": 0.0, "home": 0.001, "category": 5917.784, "detail": 5710.469, "player": 0.007, "url_check": 222.488, "total": 11855.417}, "counts": {"classes": 5, "category_videos": 72, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "/index.php/vod/detail/id/185906.html", "flag": "夸克#闪电", "play_id": "https://pan.quark.cn/s/8aaa2a68473f"}, "player": {"parse": 0, "url": "https://pan.quark.cn/s/8aaa2a68473f", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://pan.quark.cn/s/8aaa2a68473f", "reason": null}}, {"spider": "飞快TV", "file": "飞快TV.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 3.844, "init": 0.001, "home": 0.0, "category": 5194.997, "detail": 5062.064, "player": 4983.139, "url_check": 2494.576, "total": 17739.065}, "counts": {"classes": 4, "category_videos": 40, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "/voddetail/238293.html", "flag": "高清31", "play_id": "/vodplay/238293-1-1.html"}, "player": {"parse": 0, "url": "https://cdn.yzzy28-play.com/20260508/29974_08aa869c/index.m3u8", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://cdn.yzzy28-play.com/20260508/29974_08aa869c/index.m3u8", "reason": null}}, {"spider": "魔方APP", "file": "魔方APP.txt", "success": false, "failed_stage": "home", "error": "分类列表为空", "traceback": null, "timings_ms": {"module_load": 5.317, "init": 0.001, "home": 1960.805, "category": 0.0, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 1966.267}, "counts": {"classes": 0, "category_videos": 0, "detail_videos": 0, "episodes": 0}, "samples": {"tid": null, "vod_id": null, "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "麦田影院", "file": "麦田影院.txt", "success": false, "failed_stage": "unexpected", "error": "('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))", "traceback": "Traceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 787, in urlopen\n response = self._make_request(\n conn,\n ...<10 lines>...\n **response_kw,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 534, in _make_request\n response = conn.getresponse()\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connection.py\", line 571, in getresponse\n httplib_response = super().getresponse()\n File \"/home/harold/.local/share/uv/python/cpython-3.14.3-linux-x86_64-gnu/lib/python3.14/http/client.py\", line 1450, in getresponse\n response.begin()\n ~~~~~~~~~~~~~~^^\n File \"/home/harold/.local/share/uv/python/cpython-3.14.3-linux-x86_64-gnu/lib/python3.14/http/client.py\", line 336, in begin\n version, status, reason = self._read_status()\n ~~~~~~~~~~~~~~~~~^^\nhttp.client.RemoteDisconnected: Remote end closed connection without response\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/requests/adapters.py\", line 645, in send\n resp = conn.urlopen(\n method=request.method,\n ...<9 lines>...\n chunked=chunked,\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 841, in urlopen\n retries = retries.increment(\n method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]\n )\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/retry.py\", line 490, in increment\n raise reraise(type(error), error, _stacktrace)\n ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/util/util.py\", line 38, in reraise\n raise value.with_traceback(tb)\n File \"/home/harold/workspace/atv-spiders/py/.venv/lib/python3.14/site-packages/urllib3/connectionpool.py\", line 787, in urlopen\n response = self._make_request(\n conn,\n ...<10 lines>...\n **response_kw,\n )\nurllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 644, in validate_spider_file\n _validate_from_tid(\n ~~~~~~~~~~~~~~~~~~^\n spider=spider,\n ^^^^^^^^^^^^^^\n ...<6 lines>...\n logger=logger,\n ^^^^^^^^^^^^^^\n )\n ^\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 404, in _validate_from_tid\n category_result = _run_timed(result[\"timings_ms\"], \"category\", spider.categoryContent, clock, tid, \"1\", False, {})\n File \"/home/harold/workspace/atv-spiders/py/validate_spiders.py\", line 290, in _run_timed\n return func(*args, **kwargs)\n File \"/home/harold/workspace/tvbox-resources/py/麦田影院.txt\", line 101, in categoryContent\n File \"/home/harold/workspace/tvbox-resources/py/麦田影院.txt\", line 68, in _request_html\nrequests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))\n", "timings_ms": {"module_load": 3.851, "init": 0.001, "home": 0.001, "category": 2318.72, "detail": 0.0, "player": 0.0, "url_check": 0.0, "total": 2324.044}, "counts": {"classes": 6, "category_videos": 0, "detail_videos": 0, "episodes": 0}, "samples": {"tid": "1", "vod_id": null, "flag": null, "play_id": null}, "player": {"parse": null, "url": "", "valid": false, "reachable": null, "status_code": null, "final_url": "", "reason": null}}, {"spider": "黑猫APP", "file": "黑猫APP.txt", "success": true, "failed_stage": null, "error": null, "traceback": null, "timings_ms": {"module_load": 5.238, "init": 0.001, "home": 2834.606, "category": 2216.858, "detail": 2099.86, "player": 3208.922, "url_check": 201.804, "total": 10567.884}, "counts": {"classes": 5, "category_videos": 30, "detail_videos": 1, "episodes": 1}, "samples": {"tid": "1", "vod_id": "91886", "flag": "🐈‍⬛高清线路", "play_id": "高清线路1@@direct@@66ddeb0b0fe39924c19b86fc5dcce841,ed69a73b6c06f5db9a4bcd46d8550c36,token+,1,1"}, "player": {"parse": 0, "url": "https://v9-show.douyinvod.com/e816e1dfd90ea8a26a5daed490168c08/6a041df6/video/tos/cn/tos-cn-v-5f73e7/o4DmBvfrySVPpFCaE36BH4DqEoIAeISg1w9pgJ/", "valid": true, "reachable": true, "status_code": 200, "final_url": "https://v9-show.douyinvod.com/e816e1dfd90ea8a26a5daed490168c08/6a041df6/video/tos/cn/tos-cn-v-5f73e7/o4DmBvfrySVPpFCaE36BH4DqEoIAeISg1w9pgJ/", "reason": null}}]};
const STAGE_LABELS = {"module_load": "模块加载", "init": "初始化", "home": "首页分类", "category": "分类列表", "detail": "视频详情", "player": "播放地址", "url_check": "地址校验", "unexpected": "未预期异常", "total": "总耗时"};
const RAW_SPIDER_BASE_URL = "https://github.com/har01d5/tvbox/raw/refs/heads/master/py/";
const state = {
status: "all",
failedStage: "all",
keyword: "",
minDuration: "",
maxDuration: "",
sortKey: "spider",
sortDirection: "asc",
};
function escapeHtml(value) {
return String(value ?? "")
.replace(/&/g, "&amp;")
.replace(/</g, "&lt;")
.replace(/>/g, "&gt;")
.replace(/"/g, "&quot;");
}
function formatDuration(value) {
const numeric = Number(value ?? 0);
if (Number.isNaN(numeric)) {
return String(value ?? "");
}
if (numeric >= 1000) {
return `${Math.round((numeric / 1000) * 1000) / 1000}秒`;
}
return `${numeric}ms`;
}
function stageLabel(stage) {
return stage ? (STAGE_LABELS[stage] || stage) : "";
}
function spiderUrl(fileName) {
return RAW_SPIDER_BASE_URL + encodeURIComponent(String(fileName || ""));
}
function uniqueFailedStages(items) {
const values = new Set();
items.forEach((item) => {
if (item.failed_stage) {
values.add(item.failed_stage);
}
});
return [...values].sort((left, right) => stageLabel(left).localeCompare(stageLabel(right), "zh-Hans-CN"));
}
function sortValue(item, key) {
if (key === "status") {
return item.success ? 0 : 1;
}
if (key === "failed_stage") {
return stageLabel(item.failed_stage);
}
if (key === "spider") {
return item.spider || "";
}
return Number(item.timings_ms?.[key] ?? 0);
}
function applyFilters(items) {
return items.filter((item) => {
if (state.status === "success" && !item.success) {
return false;
}
if (state.status === "failed" && item.success) {
return false;
}
if (state.failedStage !== "all" && (item.failed_stage || "") !== state.failedStage) {
return false;
}
const haystack = `${item.spider || ""} ${item.file || ""}`.toLowerCase();
if (state.keyword && !haystack.includes(state.keyword.toLowerCase())) {
return false;
}
const total = Number(item.timings_ms?.total ?? 0);
if (state.minDuration !== "" && total < Number(state.minDuration)) {
return false;
}
if (state.maxDuration !== "" && total > Number(state.maxDuration)) {
return false;
}
return true;
});
}
function applySort(items) {
return [...items].sort((left, right) => {
const a = sortValue(left, state.sortKey);
const b = sortValue(right, state.sortKey);
const comparison = typeof a === "number" && typeof b === "number"
? a - b
: String(a).localeCompare(String(b), "zh-Hans-CN");
return state.sortDirection === "asc" ? comparison : -comparison;
});
}
function renderSummary(items) {
const success = items.filter((item) => item.success).length;
const failed = items.length - success;
document.getElementById("summary-line").textContent =
`当前显示 ${items.length} / ${report.results.length} 条,成功 ${success},失败 ${failed}`;
}
function renderRows(items) {
const tbody = document.getElementById("results-body");
if (!items.length) {
tbody.innerHTML = '<tr><td class="empty" colspan="13">当前筛选条件下没有结果</td></tr>';
return;
}
tbody.innerHTML = items.map((item) => {
const statusClass = item.success ? "success" : "failed";
const statusText = item.success ? "成功" : "失败";
return `
<tr>
<td><a href="${spiderUrl(item.file)}" target="_blank" rel="noreferrer">${escapeHtml(item.spider)}</a></td>
<td><span class="status ${statusClass}">${statusText}</span></td>
<td>${escapeHtml(stageLabel(item.failed_stage))}</td>
<td>${escapeHtml(formatDuration(item.timings_ms?.total ?? 0))}</td>
<td>${escapeHtml(formatDuration(item.timings_ms?.module_load ?? 0))}</td>
<td>${escapeHtml(formatDuration(item.timings_ms?.init ?? 0))}</td>
<td>${escapeHtml(formatDuration(item.timings_ms?.home ?? 0))}</td>
<td>${escapeHtml(formatDuration(item.timings_ms?.category ?? 0))}</td>
<td>${escapeHtml(formatDuration(item.timings_ms?.detail ?? 0))}</td>
<td>${escapeHtml(formatDuration(item.timings_ms?.player ?? 0))}</td>
<td>${escapeHtml(formatDuration(item.timings_ms?.url_check ?? 0))}</td>
<td>${escapeHtml(item.player?.url ?? "")}</td>
<td>${escapeHtml(item.error ?? "")}</td>
</tr>
`;
}).join("");
}
function updateSortIndicators() {
document.querySelectorAll("[data-sort-key]").forEach((button) => {
const indicator = button.querySelector(".sort-indicator");
if (!indicator) {
return;
}
if (button.dataset.sortKey !== state.sortKey) {
indicator.textContent = "";
return;
}
indicator.textContent = state.sortDirection === "asc" ? "▲" : "▼";
});
}
function rerender() {
const filtered = applyFilters(report.results);
const sorted = applySort(filtered);
renderSummary(sorted);
renderRows(sorted);
updateSortIndicators();
}
function initializeFilters() {
const statusFilter = document.getElementById("status-filter");
const stageFilter = document.getElementById("stage-filter");
const keywordFilter = document.getElementById("keyword-filter");
const minFilter = document.getElementById("duration-min-filter");
const maxFilter = document.getElementById("duration-max-filter");
const resetButton = document.getElementById("reset-filters");
statusFilter.innerHTML = [
'<option value="all">全部状态</option>',
'<option value="success">成功</option>',
'<option value="failed">失败</option>',
].join("");
stageFilter.innerHTML = ['<option value="all">全部阶段</option>']
.concat(uniqueFailedStages(report.results).map((stage) => `<option value="${escapeHtml(stage)}">${escapeHtml(stageLabel(stage))}</option>`))
.join("");
statusFilter.addEventListener("change", (event) => {
state.status = event.target.value;
rerender();
});
stageFilter.addEventListener("change", (event) => {
state.failedStage = event.target.value;
rerender();
});
keywordFilter.addEventListener("input", (event) => {
state.keyword = event.target.value.trim();
rerender();
});
minFilter.addEventListener("input", (event) => {
state.minDuration = event.target.value;
rerender();
});
maxFilter.addEventListener("input", (event) => {
state.maxDuration = event.target.value;
rerender();
});
resetButton.addEventListener("click", () => {
state.status = "all";
state.failedStage = "all";
state.keyword = "";
state.minDuration = "";
state.maxDuration = "";
statusFilter.value = "all";
stageFilter.value = "all";
keywordFilter.value = "";
minFilter.value = "";
maxFilter.value = "";
rerender();
});
document.querySelectorAll("[data-sort-key]").forEach((button) => {
button.addEventListener("click", () => {
const key = button.dataset.sortKey;
if (state.sortKey === key) {
state.sortDirection = state.sortDirection === "asc" ? "desc" : "asc";
} else {
state.sortKey = key;
state.sortDirection = "asc";
}
rerender();
});
});
}
function initializeSummaryCards() {
document.getElementById("generated-at").textContent = report.generated_at || "";
document.getElementById("max-workers").textContent = String(report.max_workers ?? "");
document.getElementById("total-count").textContent = String(report.summary?.total ?? 0);
document.getElementById("success-count").textContent = String(report.summary?.success ?? 0);
document.getElementById("failed-count").textContent = String(report.summary?.failed ?? 0);
document.getElementById("total-duration").textContent = formatDuration(report.total_duration_ms ?? 0);
}
initializeSummaryCards();
initializeFilters();
rerender();
</script>
</body>
</html>