Files
MemRelay/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/Checkpoint 2026-10-21 15-36-44 UTC [814e5f47ca].md
T
memrelay 87b789d31e create: Checkpoint 2026-10-21 15:36:44 UTC [814e5f47ca]
MemRelay-Operation: checkpoint-save:ckpt-dramabox-20261021-01
MemRelay-Resource: 30b6a89e-f138-4c47-8125-92624f8e8a36
2026-10-21 23:36:48 +08:00

26 lines
2.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: Checkpoint 2026-10-21 15:36:44 UTC [814e5f47ca]
type: checkpoint
permalink: main/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/checkpoint-2026-10-21-15-36-44-utc-814e5f47ca
stable_id: 30b6a89e-f138-4c47-8125-92624f8e8a36
scope: project
memory_type: checkpoint
project_id: 280dd2a0-d23d-4a71-91e1-dce4353163be
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
status: active
revision: 1
request_id: ckpt-dramabox-20261021-01
created_at: '2026-10-21T15:36:44.392962+00:00'
updated_at: '2026-10-21T15:36:44.392962+00:00'
tags:
- dramabox
- handoff
---
完成:feat/huangdou 上的登录页备注/类型修复已提交推送(213614c)。从当前分支拉出 feat/dramabox,按黄豆同级接入第三个平台 DramaBox。
原因:用户要可选语言/国家,不同语言是不同地区目录。
关键实现:登录页左侧增加 DramaBox;选择 17 个地区后进入。清单走 webfic home/index + browse + more;搜索 /webfic/book/search;分集从官网 film 页 NEXT_DATA chapterList 取 m3u8/mp4。未解锁集保留「需要解锁」。会话 cache/dramabox,下载 download/dramabox。
验证:tests/test_dramabox.py 与黄豆/音频既有测试通过。live HTTP:泰语登录、24 个分类、Queen 搜索 60 条、第 41000119953 共 63 集其中 16 可播、index.m3u8 改写到 /api/dramabox/play/segment、分片 200 video/mp2t、清单封面 jpeg。vue-tsc 与 ui build 通过。未做整剧 ffmpeg 下载(可播分片已通,下载复用 DownloadManager)。
问题与解决:urllib 拉 CDN 403,改 httpx+Referer;部分搜索封面 @w= 返回 XML,清单 cppartner 封面可用。
下一步:重启 npm run tauri dev 才能看到 DramaBox。账号密码登录未做。未解锁集等有会员账号再解。
给下个会话:分支 feat/dramabox。不要改窗口 1080×800 和背景 #363636。不要把 token、CDN 签名写进记忆。产品界面不要写开发备注。语言列表在 server/services/dramabox/locales.py。cache/dramabox 已 gitignore。已运行的 tauri 仍是旧后端,必须重启。