返回 Social Auto Upload
kuaishou_commands.ps1
根目录 / skills / kuaishou-upload / scripts / examples / kuaishou_commands.ps1
1 # PowerShell examples for the installed sau CLI.
2
3 # account_name is user-defined. One account_name maps to one account file.
4 # You can prepare multiple account names and run them in parallel.
5 $account = "account_a"
6 $video = "videos/demo.mp4"
7 $thumbnail = "videos/demo.png"
8 $noteImages = @("videos/1.png", "videos/2.png", "videos/3.png")
9
10 sau kuaishou login --account $account
11 sau kuaishou check --account $account
12
13 sau kuaishou upload-video `
14 --account $account `
15 --file $video `
16 --title "Kuaishou video from PowerShell" `
17 --desc "Kuaishou video description from PowerShell" `
18 --tags "cli,video" `
19 --thumbnail $thumbnail `
20 --headless
21
22 sau kuaishou upload-note `
23 --account $account `
24 --images $noteImages `
25 --title "Kuaishou note title from PowerShell" `
26 --note "Kuaishou note from PowerShell" `
27 --tags "cli,note" `
28 --headless
29
29 lines Plain Text