auto/refresh-meta-removed-1103
main
run_recent_videos
view_detail
status=removed
active
unfaved
VISIBLE
active_ups
ingest_video
Repository.refresh_video_metadata
SnapshotService
_apply_detail
TRACKED
removedCoverMark
.cover-removed-mark
app.js
uv run python tests/test_snapshot.py / test_web_queries.py / test_repository.py / test_library.py / test_removed_cover_mark.py 通过。
uv run python tests/test_snapshot.py
test_web_queries.py
test_repository.py
test_library.py
test_removed_cover_mark.py
入库 / 小时近新片 / 全量快照成功时以 view_detail 覆盖 title、duration、 pages、cover、bvid、up_*、pubdate 等接口字段,并照旧写七项快照。 原站失效仅标 removed,不删行、不空写元数据;列表与详情继续展示, 快照队列仍跳过 removed。
站内展示/统计统一 VISIBLE(含 removed):热度、UP 列表、总览 active_ups/初导入计数、说明页粉丝覆盖、黑名单视频数。采集队列仍 只 active/unfaved。失效片封面右上角感叹号徽标,点击/tap 提示 「该视频已失效」;手动/候选入库仍可复活 removed→active。
No dependencies set.
The note is not visible to the blocked user.
产品规则
run_recent_videos)、全量快照成功时,库中由接口获取的字段以当次view_detail为准覆盖(title / duration / pages / cover / bvid / up_mid / up_name / up_face / pubdate 等),七项指标照旧写 snapshot。status=removed;不删行、不用空值覆盖元数据/历史快照;站内列表与详情继续展示;日常与全量快照仍跳过 removed。active,unfaved) 做展示与统计的地方,改为与主列表一致纳入 removed(VISIBLE)。含热度门槛榜、UP 列表、总览 tracked/active_ups/初导入计数、说明页粉丝覆盖、黑名单视频数等。采集队列仍只active/unfaved。ingest_video允许将 removed 复活为active(现有行为,保持)。实现摘要
Repository.refresh_video_metadata(空值不冲掉旧值,不改 status)SnapshotService成功路径改view_detail+_apply_detailVISIBLE;采集侧仍TRACKEDremovedCoverMark+.cover-removed-mark;app.js捕获点击 toast测试
uv run python tests/test_snapshot.py/test_web_queries.py/test_repository.py/test_library.py/test_removed_cover_mark.py通过。