跳到正文
cccskills
免费在 GitHub 公开

sn-search-social-cn

Search Chinese social platforms for videos, questions, and answers, with script results returned as JSON, a structured text format. For 小红书 and 微博, use public web pages and record the source and search limitations.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

用于搜索中文社交平台。脚本入口覆盖 B站视频、知乎问答和抖音视频;小红书、微博当前没有脚本入口,只能通过 browser-use / 公开网页兜底。

实测评分 未实测

查看安装方法

适用场景

  • Find tutorial videos on B站
  • Search 知乎 for answers and topics
  • Find videos by keyword on 抖音
  • Research public pages on 小红书 and 微博

包含的文件(6)

  • SKILL.md4.0 KB
  • requirements.txt16 B
  • scripts/bilibili_search.py3.5 KB
  • scripts/douyin_search.py2.9 KB
  • scripts/search_utils.py4.3 KB
  • scripts/zhihu_search.py6.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

sn-search-social-cn - 中文社交平台搜索

凭证配置

API key、token 与 cookie 统一建议写在仓库根目录 .env(参考 .env.example),并由 runtime 或用户在执行前加载为同名环境变量。脚本仍只从环境变量或显式 CLI 参数读取凭证;不要把真实密钥写入 skill payload、报告、日志或提交。

脚本搜索 B站、知乎、抖音三个中文社交平台。小红书、微博当前没有可用脚本入口,如研究必须覆盖这两类来源,使用 browser-use 打开公开网页结果或平台搜索页,并在结果中说明该来源来自网页兜底。

稳定性说明

中文社交平台没有稳定的公开搜索 API,所有脚本依赖内部 API 或第三方库,可能因平台更新而失效。

脚本平台稳定性认证方式
bilibili_search.pyB站较高无需(可选 cookie 提高质量)
zhihu_search.py知乎中等需 ZHIHU_COOKIE
douyin_search.py抖音较低需 DOUYIN_COOKIE
无脚本小红书低browser-use / 公开网页兜底
无脚本微博低browser-use / 公开网页兜底

依赖

首次运行或脚本提示缺库时,使用本技能的依赖清单安装到当前 Python 环境:

python3 -m pip install -r requirements.txt

不要在脚本内部自动安装依赖。若安装失败、网络不可用或包不可用,停止使用对应脚本并改用 browser-use 搜索免费可见网页,说明缺少依赖。

Cookie 获取方式

  1. 在浏览器中登录对应脚本平台
  2. 打开开发者工具(F12)→ Network 标签
  3. 刷新页面,在请求头中找到 Cookie 字段
  4. 将完整 cookie 字符串设置为对应环境变量。小红书、微博当前没有脚本入口,不读取 XHS_COOKIE / WEIBO_COOKIE。

参数说明

bilibili_search.py

python3 scripts/bilibili_search.py <query> [选项]
参数说明默认值
query搜索关键词(必填)—
--limit, -n返回结果数量10
--cookieB站 Cookie(也可通过 BILIBILI_COOKIE 环境变量设置,可选,提高结果质量)—
--order排序:空=综合, totalrank=最佳匹配, click=播放, pubdate=最新, dm=弹幕, stow=收藏综合
python3 scripts/bilibili_search.py "机器学习教程" --limit 5
python3 scripts/bilibili_search.py "Python" --order click --limit 10

zhihu_search.py

python3 scripts/zhihu_search.py <query> [选项]
参数说明默认值
query搜索关键词(必填)—
--limit, -n返回结果数量10
--cookie知乎 Cookie(也可通过 ZHIHU_COOKIE 环境变量设置,必填)—
--type搜索类型:general, topic, people, zvideogeneral
ZHIHU_COOKIE="..." python3 scripts/zhihu_search.py "Python 异步编程" --limit 5
python3 scripts/zhihu_search.py "大模型" --cookie "..." --type topic --limit 5

douyin_search.py

python3 scripts/douyin_search.py <query> [选项]
参数说明默认值
query搜索关键词(必填)—
--limit, -n返回结果数量10
--cookie抖音 Cookie(也可通过 DOUYIN_COOKIE 环境变量设置,必填)—
DOUYIN_COOKIE="..." python3 scripts/douyin_search.py "编程教程" --limit 5

输出格式

标准 JSON:{"success": true, "query": "...", "provider": "bilibili|zhihu|douyin", "items": [...], "error": null}

小红书、微博通过 browser-use / 公开网页兜底时,不承诺以上脚本 JSON 结构;记录打开的页面 URL、检索词、可见结果和限制即可。

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Compare counts and shares for two categories in Excel data. The skill cleans the selected columns, calculates differences and percentages, and produces a summary spreadsheet plus bar and pie charts.

中文简介正在准备中。当前显示英语简介。

  • Comparing counts for two categories
  • Visualizing category shares
  • Cleaning merged-cell data before counting
OpenSenseNova/SenseNova-Skills58882026年10月9日 更新

Analyze Excel data using custom categories, count distributions, and compare groups with charts. Score text using its length, technical terms, numbers, and selected complex concepts, then visualize difficulty levels and the relationship between text length and scores.

中文简介正在准备中。当前显示英语简介。

  • Summarize Excel records using custom categories
  • Compare category distributions across groups
  • Score and grade text using adjustable rules
OpenSenseNova/SenseNova-Skills58882026年10月9日 更新

Count categories in a chosen data column after removing missing values and placeholder labels. Calculate each category’s share and create high-resolution charts combining counts, percentages, pie charts, and horizontal bars for distribution reports.

中文简介正在准备中。当前显示英语简介。

  • Compare record counts across categories
  • Show category shares with pie and bar charts
  • Exclude placeholder labels before counting
OpenSenseNova/SenseNova-Skills58882026年10月9日 更新

Clean category and numeric fields in structured data, compare groups with counts and cross-tabulations, and produce charts, Excel results, and a Markdown report. Export visuals as high-resolution PNG and SVG files for use in reports.

中文简介正在准备中。当前显示英语简介。

  • Compare category distributions across groups
  • Clean category labels and fill merged-cell gaps
  • Export analysis results to Excel
OpenSenseNova/SenseNova-Skills58882026年10月9日 更新

Filter Excel data using candidate column names, RGB color values, text prefixes, and regular expressions, which match text patterns. Calculate totals and averages, then export results to Excel with highlighted rows and a download link.

中文简介正在准备中。当前显示英语简介。

  • Filtering rows by RGB values or identifier prefixes
  • Converting text to numbers and calculating totals or averages
  • Extracting matching commands with their identifiers and descriptions
OpenSenseNova/SenseNova-Skills58882026年10月9日 更新

Filter rows from Excel or previously converted Parquet files, a format designed for efficient data storage. Summarize matching records by group with counts, percentages, and totals, then export the summary to Excel.

中文简介正在准备中。当前显示英语简介。

  • Count records containing a specified risk level by work category
  • Calculate group shares among matching records
  • Summarize large datasets already converted to Parquet
OpenSenseNova/SenseNova-Skills58882026年10月9日 更新

查看 OpenSenseNova 的全部技能

报告此技能的问题