update
This commit is contained in:
18
src/test/xhs/index.ts
Normal file
18
src/test/xhs/index.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { program, app, showMore } from '../common.ts'
|
||||
|
||||
|
||||
program
|
||||
.command('xhs:run')
|
||||
.description('运行小红书浏览器辅助')
|
||||
.action(async () => {
|
||||
const res = await app.run({
|
||||
path: 'xhs',
|
||||
key: 'search-notes',
|
||||
payload: {
|
||||
keyword: '多维表格',
|
||||
scrollTimes: 1,
|
||||
}
|
||||
})
|
||||
console.log(showMore(res));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user