@skills-store/rednote 0.1.5 → 0.1.6
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 +35 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# rednote
|
|
2
|
+
|
|
3
|
+
A Xiaohongshu (RED) automation CLI.
|
|
4
|
+
|
|
5
|
+
## Run with npx
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx -y @skills-store/rednote browser list
|
|
9
|
+
npx -y @skills-store/rednote browser create --name seller-main --browser chrome
|
|
10
|
+
npx -y @skills-store/rednote browser connect --instance seller-main
|
|
11
|
+
npx -y @skills-store/rednote login --instance seller-main
|
|
12
|
+
npx -y @skills-store/rednote search --instance seller-main --keyword 护肤
|
|
13
|
+
npx -y @skills-store/rednote get-feed-detail --instance seller-main --url "https://www.xiaohongshu.com/explore/<id>?xsec_token=<token>"
|
|
14
|
+
npx -y @skills-store/rednote get-profile --instance seller-main --id USER_ID
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Install globally
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npm install -g @skills-store/rednote
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Storage
|
|
24
|
+
|
|
25
|
+
The CLI stores custom browser instances and metadata under:
|
|
26
|
+
|
|
27
|
+
```text
|
|
28
|
+
~/.skills-router/rednote/instances
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Run this to inspect the current environment and exact resolved paths:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
npx -y @skills-store/rednote env
|
|
35
|
+
```
|