socialdatax-skills 0.2.24 → 0.2.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  This public package provides the unified skill installer and direct CLI helper for SocialDataX services.
4
4
 
5
- The current public tools support 小红书 / Xiaohongshu / XHS / RedNote, 抖音 / Douyin, 快手 / Kuaishou / Kwai, 微博 / Weibo, 视频号 / WeChat Channels, and 微信公众号 / WeChat Official Account article content research and analysis workflows, plus 敏感词检测 / 违禁词检查 text checks. The public skill layer is intentionally named by capability so supported services can evolve without changing the installation model.
5
+ The current public tools support 小红书 / Xiaohongshu / XHS / RedNote, 抖音 / Douyin, 快手 / Kuaishou / Kwai, 微博 / Weibo, 视频号 / WeChat Channels, and 微信公众号 / WeChat Official Account article content research and analysis workflows, plus Bilibili / 哔哩哔哩 / B站 local video download and 敏感词检测 / 违禁词检查 text checks. The public skill layer is intentionally named by capability so supported services can evolve without changing the installation model.
6
6
 
7
7
  - direct `npx` JSON commands for agents that can run shell commands
8
8
  - AgentSkills-compatible installers split by capability for OpenClaw, Hermes Agent, Codex, Claude Code, and general agent skill directories
@@ -33,6 +33,9 @@ Common search phrases for this skill package:
33
33
  - `Kuaishou skills`
34
34
  - `Kwai skills`
35
35
  - `快手 skills`
36
+ - `Bilibili skills`
37
+ - `B站视频下载`
38
+ - `哔哩哔哩视频下载`
36
39
  - `Weibo skills`
37
40
  - `微博 skills`
38
41
  - `WeChat Channels skills`
@@ -54,6 +57,7 @@ Common search phrases for this skill package:
54
57
  - XHS hosted MCP endpoint: `https://mcp.socialdatax.com/xhs/mcp`
55
58
  - Douyin hosted MCP endpoint: `https://mcp.socialdatax.com/douyin/mcp`
56
59
  - Kuaishou hosted MCP endpoint: `https://mcp.socialdatax.com/kuaishou/mcp`
60
+ - Bilibili hosted MCP endpoint: `https://mcp.socialdatax.com/bilibili/mcp`
57
61
  - Weibo hosted MCP endpoint: `https://mcp.socialdatax.com/weibo/mcp`
58
62
  - WeChat / 微信 hosted MCP endpoint: `https://mcp.socialdatax.com/wechat/mcp`
59
63
  - Sensitive Words Check hosted MCP endpoint: `https://mcp.socialdatax.com/sensitive-check/mcp`
@@ -66,6 +70,8 @@ Common search phrases for this skill package:
66
70
  - Douyin future platform MCP registry name: `com.socialdatax/douyin-insights`
67
71
  - Kuaishou current platform MCP registry name: `com.52choujiang/kuaishou-insights`
68
72
  - Kuaishou future platform MCP registry name: `com.socialdatax/kuaishou-insights`
73
+ - Bilibili current platform MCP registry name: `com.52choujiang/bilibili-insights`
74
+ - Bilibili future platform MCP registry name: `com.socialdatax/bilibili-insights`
69
75
  - Weibo current platform MCP registry name: `com.52choujiang/weibo-insights`
70
76
  - Weibo future platform MCP registry name: `com.socialdatax/weibo-insights`
71
77
  - WeChat / 微信 current platform MCP registry name: `com.52choujiang/wechat-channels-insights`
@@ -73,7 +79,7 @@ Common search phrases for this skill package:
73
79
  - Sensitive Words Check MCP server name: `sensitive-check`
74
80
  - Sensitive Words Check future MCP registry name: `com.socialdatax/sensitive-check`
75
81
  - Unified MCP registry name: none; this package installs skills and calls explicit platform services.
76
- - Current public capability version: `0.2.24`
82
+ - Current public capability version: `0.2.25`
77
83
 
78
84
  ## Direct CLI
79
85
 
@@ -127,6 +133,7 @@ npx -y socialdatax-skills@latest kuaishou user-posts --profile-url "<profile_url
127
133
  npx -y socialdatax-skills@latest kuaishou transcript --url "<kuaishou_content_url_or_share_text>" --pretty
128
134
  npx -y socialdatax-skills@latest kuaishou transcript --photo-id "<photo_id>" --pretty
129
135
  npx -y socialdatax-skills@latest kuaishou transcript --job-id "<job_id>" --pretty
136
+ npx -y socialdatax-skills@latest bilibili download --url "<bilibili_video_url_or_share_text>" --output-dir ./downloads --pretty
130
137
  npx -y socialdatax-skills@latest weibo hot-search --pretty
131
138
  npx -y socialdatax-skills@latest weibo search --keyword "露营" --pretty
132
139
  npx -y socialdatax-skills@latest weibo detail --post-id "<post_id>" --pretty
@@ -165,6 +172,8 @@ npx -y socialdatax-skills@latest sensitive-check text --text "<content>" --platf
165
172
 
166
173
  Most direct CLI commands print a JSON envelope with `platform`, `tool`, `arguments`, and `data`. `sensitive-check` prints `platform`, `tool`, and `data` only; it does not echo the original text in CLI output. `wechat decrypt-media` is a local save command: pass the `video.video_url` returned by WeChat detail and an `--output` file path. It saves the media locally, decrypts when needed, and does not require `SOCIALDATAX_API_KEY`.
167
174
 
175
+ `bilibili download` calls SocialDataX once to fetch short-lived download links, then downloads video and audio tracks on the local machine and merges them with local `ffmpeg`. Set `SOCIALDATAX_API_KEY`, install `ffmpeg`, and pass either `--output <file>` or `--output-dir <directory>`. The download-links request consumes 10 credits; the local track download and merge do not consume additional SocialDataX credits. Use `--ffmpeg-path <path>` when `ffmpeg` is not on `PATH`, and `--keep-tracks` to retain the separate track files after merge.
176
+
168
177
  For XHS outputs with a returned `note_url` field, when `note_url` is non-null, preserve it exactly as the full URL, including `xsec_token` query parameters, such as in final answers or display. Do not modify, truncate, redact, normalize, rebuild, or replace it with a link assembled from `note_id`. If `note_url` is null, do not synthesize a public link from `note_id`.
169
178
 
170
179
  For list-style commands, use `--pages <n>` to fetch N pages from the current starting point and `--max-items <n>` to cap the merged `data.items` output. Search commands support `--pages` but not `--all`, because search has no stable complete-result boundary.
@@ -208,6 +217,7 @@ WeChat Channels search filters use semantic values: `--sort-type` supports
208
217
  - Recommended: Node.js 22 LTS or newer.
209
218
  - Minimum: Node.js 20.18.1.
210
219
  - Node.js 18 and older are not supported.
220
+ - Local Bilibili download merge requires `ffmpeg` on `PATH` or `--ffmpeg-path <path>`.
211
221
 
212
222
  ### Environment
213
223
 
@@ -227,7 +237,7 @@ The public package declares no npm lifecycle scripts such as `preinstall`, `inst
227
237
 
228
238
  ## Platform Names
229
239
 
230
- This project is not affiliated with, endorsed by, or sponsored by Xiaohongshu, RedNote, Douyin, Kuaishou, Kwai, Weibo, WeChat, WeChat Channels, or their affiliates. Platform names are used only to describe supported data sources.
240
+ This project is not affiliated with, endorsed by, or sponsored by Xiaohongshu, RedNote, Douyin, Kuaishou, Kwai, Bilibili, Weibo, WeChat, WeChat Channels, or their affiliates. Platform names are used only to describe supported data sources.
231
241
 
232
242
  ### Local Source Run
233
243
 
@@ -236,6 +246,7 @@ npm install
236
246
  SOCIALDATAX_API_KEY="<SOCIALDATAX_API_KEY>" node cli.mjs xhs search --keyword "露营" --pretty
237
247
  SOCIALDATAX_API_KEY="<SOCIALDATAX_API_KEY>" node cli.mjs douyin search --keyword "露营" --pretty
238
248
  SOCIALDATAX_API_KEY="<SOCIALDATAX_API_KEY>" node cli.mjs kuaishou search --keyword "露营" --pretty
249
+ SOCIALDATAX_API_KEY="<SOCIALDATAX_API_KEY>" node cli.mjs bilibili download --url "<bilibili_video_url_or_share_text>" --output-dir ./downloads --pretty
239
250
  SOCIALDATAX_API_KEY="<SOCIALDATAX_API_KEY>" node cli.mjs weibo search --keyword "露营" --pretty
240
251
  SOCIALDATAX_API_KEY="<SOCIALDATAX_API_KEY>" node cli.mjs wechat search --keyword "露营" --pretty
241
252
  SOCIALDATAX_API_KEY="<SOCIALDATAX_API_KEY>" node cli.mjs sensitive-check text --text "<content>" --platform xhs --pretty
@@ -292,6 +303,7 @@ npx -y socialdatax-skills@latest douyin transcript --aweme-id "<aweme_id>" --pre
292
303
  npx -y socialdatax-skills@latest kuaishou hot-search --pretty
293
304
  npx -y socialdatax-skills@latest kuaishou search --keyword "露营" --pretty
294
305
  npx -y socialdatax-skills@latest kuaishou transcript --photo-id "<photo_id>" --pretty
306
+ npx -y socialdatax-skills@latest bilibili download --url "<bilibili_video_url_or_share_text>" --output-dir ./downloads --pretty
295
307
  npx -y socialdatax-skills@latest weibo hot-search --pretty
296
308
  npx -y socialdatax-skills@latest weibo search --keyword "露营" --pretty
297
309
  npx -y socialdatax-skills@latest weibo transcript --post-id "<post_id>" --pretty
@@ -356,6 +368,12 @@ Current Kuaishou workflows include:
356
368
  - Fetch paginated creator work lists from a non-empty user_id, or from a profile link, short link, or share text that resolves directly to a non-empty user_id. For live/fw-user profile shares, call creator profile first and use the returned non-empty user_id.
357
369
  - Submit and check video work 口播转文字 / speech-to-text transcript jobs; submit tools 提交后最多等待 15 秒.
358
370
 
371
+ Current Bilibili workflows include:
372
+
373
+ - Resolve a Bilibili video page link or share text into short-lived DASH download links.
374
+ - Download the selected video and audio tracks locally.
375
+ - Merge the local tracks with `ffmpeg -c copy`.
376
+
359
377
  Current Douyin workflows include:
360
378
 
361
379
  - Fetch the current Douyin main hot search list.
@@ -462,6 +480,12 @@ Current Sensitive Words Check workflows include:
462
480
  | `kuaishou_submit_video_speech_text_by_photo_id` | Submit a Kuaishou video speech-to-text transcript job when the caller already has a photo_id; submit waits up to 15 seconds. |
463
481
  | `kuaishou_get_video_speech_text_job` | Check a Kuaishou speech-to-text transcript job by job_id without creating a new task. Returns transcript plus content context, not summary. |
464
482
 
483
+ ## Bilibili Tools
484
+
485
+ | Tool | Public purpose |
486
+ | --- | --- |
487
+ | `bilibili_get_video_download_links` | Fetch short-lived DASH video/audio download links and merge guidance for a Bilibili video URL or share text. |
488
+
465
489
  ## Weibo Tools
466
490
 
467
491
  | Tool | Public purpose |
@@ -515,12 +539,13 @@ export SOCIALDATAX_API_KEY="<SOCIALDATAX_API_KEY>"
515
539
  npx -y socialdatax-skills@latest xhs search --keyword "露营" --pretty
516
540
  npx -y socialdatax-skills@latest douyin search --keyword "露营" --pretty
517
541
  npx -y socialdatax-skills@latest kuaishou search --keyword "露营" --pretty
542
+ npx -y socialdatax-skills@latest bilibili download --url "<bilibili_video_url_or_share_text>" --output-dir ./downloads --pretty
518
543
  npx -y socialdatax-skills@latest weibo search --keyword "露营" --pretty
519
544
  npx -y socialdatax-skills@latest wechat search --keyword "露营" --pretty
520
545
  npx -y socialdatax-skills@latest sensitive-check text --text "<content>" --platform xhs --pretty
521
546
  ```
522
547
 
523
- MCP client configuration belongs to platform or capability MCP listings. For XHS, use the `xhs-insights` docs; for Douyin, use the `douyin-insights` listing; for Kuaishou, use the `kuaishou-insights` listing; for Weibo, use the `weibo-insights` listing; for WeChat / 微信, use the `wechat-channels-insights` listing; for 敏感词检测 / 违禁词检查, use the `sensitive-check` server.
548
+ MCP client configuration belongs to platform or capability MCP listings. For XHS, use the `xhs-insights` docs; for Douyin, use the `douyin-insights` listing; for Kuaishou, use the `kuaishou-insights` listing; for Bilibili, use the `bilibili-insights` listing; for Weibo, use the `weibo-insights` listing; for WeChat / 微信, use the `wechat-channels-insights` listing; for 敏感词检测 / 违禁词检查, use the `sensitive-check` server.
524
549
 
525
550
  Aily is treated as an OpenClaw / AgentSkills ecosystem channel for this package. Use the OpenClaw skill install flow for now; a dedicated `--target aily` will be added only after its official skill import or package format is confirmed.
526
551