tyx6661234/dsh-community-listening ↗★ 1

dsh-community-listening

社交评论挖掘分析:多平台采集、搜索发现、语料落盘、情感主题分析与报告导出。 适合做舆情或评论分析的用户;需配置平台凭据与采集参数。

套件
dsh-community-listening
相容性
待驗證
Harness 依賴範圍
^0.1.0-rc.6
Cordis 依賴範圍
^4.0.1
版本
0.1.0
授權
MIT
最近更新
2026年8月26日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:tyx6661234/dsh-community-listening

配置

在目标 profile 的插件配置中为 dsh-community-listening 添加 config。以下示例使用默认值;空字符串表示由环境、自动探测或会话目录决定。

- id: dsh-community-listening
  name: dsh-community-listening
  config:
    bskPath: bsk
    bskTimeoutMs: 120000
    maxCollectConcurrency: 3
    envPath: ""
    autoLaunchChrome: true
    chromePath: ""
    chromeProfileDir: ""
    corpusDir: ""
    pacingStateFile: ""
    bilibiliCookie: ""
    siliconflowKey: ""
    siliconflowBaseUrl: ""
    embeddingModel: ""
    bypassProxyHosts: []
    zhihuMaxAnswers: 50
    zhihuMaxAnswerComments: 10
    bilibiliMaxComments: 100
    bilibiliMaxReplyComments: 20
字段默认值与边界说明
bskPathbskBrowserSkill CLI 路径。
bskTimeoutMs120000,1000-600000单次 BrowserSkill 命令超时,单位毫秒。
maxCollectConcurrency3,1-5浏览器型采集的全局并发上限。
envPath空可选 .env 文件;空值时只读取进程环境变量。
autoLaunchChrometrue无连接时是否尝试启动本机浏览器。
chromePath / chromeProfileDir空覆盖自动探测的浏览器路径或 profile。
corpusDir空语料根目录;也可用 DSH_INSIGHT_CORPUS_DIR 设置。
pacingStateFile空节流状态文件;也可用 DSH_INSIGHT_PACING_STATE 设置。
bilibiliCookie空可选 B 站 Cookie;也可用 BILIBILI_COOKIE 设置。不要提交到仓库。
siliconflowKey / siliconflowBaseUrl / embeddingModel空可选 embedding 覆盖;未设置时读取环境或 envPath。
bypassProxyHosts[]需要直连的额外域名后缀。
zhihuMaxAnswers50,1-200知乎问题页最多处理的回答数。
zhihuMaxAnswerComments10,0-100读取评论的知乎回答数量。
bilibiliMaxComments100,1-500B 站主评论与回复的合计上限。
bilibiliMaxReplyComments20,0-100尝试读取楼中楼的主评论数量。

可选的 LLM 与 embedding 配置支持显式插件配置、进程环境变量和 envPath 中的变量。常用变量包括:

OPENCODE_API_BASE_URL
OPENCODE_API_KEY
OPENCODE_FREE_MODELS
LLM_BASE_URL
OPENAI_API_KEYS
LLM_MODEL_LITE
SILICONFLOW_API_KEY
SILICONFLOW_BASE_URL
EMBEDDING_MODEL

LLM 或 embedding 不可用时,插件会使用规则或关键词路径降级,并在结果中标记相关状态。凭据只应存储在本机受保护的配置或环境中,绝不能提交到 Git、issue 或日志。