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';