小红书重构

1. 图文上传
2. 视频上传(封面,定时)
3. cli
4. skill
5. 无头模式
This commit is contained in:
home-dev-pookz
2026-03-25 15:19:40 +08:00
parent ce9a9f102e
commit 90d03dc15a
32 changed files with 1325 additions and 98 deletions
@@ -0,0 +1,28 @@
# PowerShell examples for the installed sau CLI.
# account_name is user-defined. One account_name maps to one account file.
# You can prepare multiple account names and run them in parallel.
$account = "account_a"
$video = "videos/demo.mp4"
$thumbnail = "videos/demo.png"
$noteImages = @("videos/1.png", "videos/2.png")
sau xiaohongshu login --account $account --headless
sau xiaohongshu check --account $account
sau xiaohongshu upload-video `
--account $account `
--file $video `
--title "Xiaohongshu video from PowerShell" `
--desc "Xiaohongshu video description from PowerShell" `
--tags "cli,video" `
--thumbnail $thumbnail `
--headless
sau xiaohongshu upload-note `
--account $account `
--images $noteImages `
--title "Xiaohongshu note title from PowerShell" `
--note "Xiaohongshu note from PowerShell" `
--tags "cli,note" `
--headless