From 055403abc15652bd896a359883ce27e9a3bf7b7c Mon Sep 17 00:00:00 2001 From: bhwang Date: Fri, 20 Mar 2026 10:19:50 +0800 Subject: [PATCH] docs: correct note_id params for xiaohongshu (#108) --- README.md | 2 +- README.zh-CN.md | 2 +- src/clis/xiaohongshu/download.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d65a5b7..3fd4160 100644 --- a/README.md +++ b/README.md @@ -181,7 +181,7 @@ brew install yt-dlp ```bash # Download images/videos from Xiaohongshu note -opencli xiaohongshu download --note-id abc123 --output ./xhs +opencli xiaohongshu download --note_id abc123 --output ./xhs # Download Bilibili video (requires yt-dlp) opencli bilibili download --bvid BV1xxx --output ./bilibili diff --git a/README.zh-CN.md b/README.zh-CN.md index 0708e16..01c9ce2 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -182,7 +182,7 @@ brew install yt-dlp ```bash # 下载小红书笔记中的图片/视频 -opencli xiaohongshu download --note-id abc123 --output ./xhs +opencli xiaohongshu download --note_id abc123 --output ./xhs # 下载B站视频(需要 yt-dlp) opencli bilibili download --bvid BV1xxx --output ./bilibili diff --git a/src/clis/xiaohongshu/download.ts b/src/clis/xiaohongshu/download.ts index 81f5226..890010c 100644 --- a/src/clis/xiaohongshu/download.ts +++ b/src/clis/xiaohongshu/download.ts @@ -2,7 +2,7 @@ * Xiaohongshu download — download images and videos from a note. * * Usage: - * opencli xiaohongshu download --note-id abc123 --output ./xhs + * opencli xiaohongshu download --note_id abc123 --output ./xhs */ import * as fs from 'node:fs';