Feature/xhs insight pipeline#912
Open
DNNinfo wants to merge 28 commits into
Open
Conversation
本期范围:定时爬取 + 原始数据入库 + 运行日志,不含 LLM 分析。 自研代码隔离在 insight/ 顶层包,不改上游文件,便于与上游同步。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
按 TDD 分 9 个任务:包骨架→db→runner→crawl_entry→orchestrator→scheduler→cli→文档。 全部代码隔离在 insight/,不改上游文件。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- runner: stream stdout live, force utf-8 on Windows, bypass Mihomo/Clash proxy for localhost - orchestrator: try/finally so SIGTERM/KeyboardInterrupt still finishes the run record - cli: show error_msg tail for failed runs - config: kw_daily keywords -> 全球流量卡 - cdp: connect-existing uses /json/version (404 fix)
新增 insight/viewer 子包的设计文档:基于 Streamlit 的本地数据查看工具,复用上游 SQLite,仅做笔记列表+评论查看的基础功能。不修改任何上游文件。
"uv run --with streamlit" 创建的临时 env 不会把项目根加到 sys.path, 导致 `from insight.viewer.data import ...` 报 ModuleNotFoundError。 - README 启动命令前加 PYTHONPATH=.,并补 Windows PowerShell / conda 用户的备选命令 - 新增 view_data.ps1 脚本:自动用 $PSScriptRoot 设 PYTHONPATH 后启动 streamlit Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.