publishport-opencli 1.0.27 → 1.0.29

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.
Files changed (54) hide show
  1. package/cli-manifest.json +1113 -21
  2. package/clis/_shared/publish-controls.js +11 -0
  3. package/clis/_shared/video-publish.js +2 -1
  4. package/clis/baijiahao/article.js +17 -1
  5. package/clis/bilibili/coin.js +1 -1
  6. package/clis/bilibili/danmaku.js +5 -0
  7. package/clis/bilibili/favorite-add.js +1 -1
  8. package/clis/bilibili/upload.js +1 -1
  9. package/clis/bilibili/video-edit.js +3 -0
  10. package/clis/bilibili/video.js +1 -1
  11. package/clis/douyin/_shared/ai-declaration.js +1 -0
  12. package/clis/douyin/_shared/browser-fetch.js +6 -6
  13. package/clis/douyin/_shared/publish-settings.js +1 -0
  14. package/clis/douyin/activities.js +1 -1
  15. package/clis/douyin/collections.js +1 -1
  16. package/clis/douyin/draft.js +8 -8
  17. package/clis/douyin/hashtag.js +1 -1
  18. package/clis/douyin/location.js +1 -1
  19. package/clis/douyin/music-categories.js +1 -0
  20. package/clis/douyin/music.js +1 -0
  21. package/clis/douyin/publish-image.js +12 -12
  22. package/clis/douyin/publish.js +9 -8
  23. package/clis/jike/api.js +2 -2
  24. package/clis/jike/comments.js +1 -0
  25. package/clis/jike/delete.js +1 -0
  26. package/clis/jike/topic.js +1 -20
  27. package/clis/kuaishou/auth.js +8 -1
  28. package/clis/kuaishou/publish.js +6 -6
  29. package/clis/nowcoder/comment.js +1 -1
  30. package/clis/nowcoder/comments.js +1 -1
  31. package/clis/nowcoder/inbox.js +1 -1
  32. package/clis/nowcoder/like.js +1 -1
  33. package/clis/nowcoder/recommend.js +1 -1
  34. package/clis/nowcoder/utils.js +13 -13
  35. package/clis/quora/create-answer.js +12 -8
  36. package/clis/reddit/comment.js +28 -7
  37. package/clis/reddit/upvote.js +21 -5
  38. package/clis/xiaohongshu/_shared/ai-declaration.js +1 -0
  39. package/clis/xiaohongshu/_shared/publish-discovery.js +19 -0
  40. package/clis/xiaohongshu/_shared/publish-editors.js +1 -0
  41. package/clis/xiaohongshu/_shared/publish-settings.js +1 -0
  42. package/clis/xiaohongshu/_shared/topics.js +21 -0
  43. package/clis/xiaohongshu/activities.js +1 -0
  44. package/clis/xiaohongshu/collections.js +1 -0
  45. package/clis/xiaohongshu/groups.js +1 -0
  46. package/clis/xiaohongshu/location.js +1 -0
  47. package/clis/xiaohongshu/publish-video.js +10 -28
  48. package/clis/xiaohongshu/publish.js +43 -165
  49. package/clis/xiaohongshu/topics.js +1 -0
  50. package/clis/zhihu/comment.js +2 -2
  51. package/dist/src/cli.js +23 -23
  52. package/dist/src/commands/auth.js +3 -3
  53. package/dist/src/doctor.js +1 -1
  54. package/package.json +1 -1
package/cli-manifest.json CHANGED
@@ -3111,7 +3111,8 @@
3111
3111
  "target_type",
3112
3112
  "target",
3113
3113
  "created_target",
3114
- "created_url"
3114
+ "created_url",
3115
+ "management_url"
3115
3116
  ],
3116
3117
  "type": "js",
3117
3118
  "modulePath": "baijiahao/article.js",
@@ -4115,6 +4116,72 @@
4115
4116
  "sourceFile": "bilibili/comments.js",
4116
4117
  "navigateBefore": "https://www.bilibili.com"
4117
4118
  },
4119
+ {
4120
+ "site": "bilibili",
4121
+ "name": "danmaku",
4122
+ "description": "给 B站视频指定时间发送普通滚动弹幕(默认预览,--execute 才发送)",
4123
+ "access": "write",
4124
+ "domain": "www.bilibili.com",
4125
+ "strategy": "cookie",
4126
+ "browser": true,
4127
+ "args": [
4128
+ {
4129
+ "name": "bvid",
4130
+ "type": "str",
4131
+ "required": true,
4132
+ "positional": true,
4133
+ "help": "Video BV ID / URL / b23.tv short link"
4134
+ },
4135
+ {
4136
+ "name": "message",
4137
+ "type": "str",
4138
+ "required": false,
4139
+ "positional": true,
4140
+ "help": "弹幕正文,亦可使用 --file",
4141
+ "fromFile": true,
4142
+ "requiredUnlessFile": true
4143
+ },
4144
+ {
4145
+ "name": "at",
4146
+ "type": "str",
4147
+ "required": true,
4148
+ "help": "弹幕出现时间,单位秒,支持小数(例如 12.5)"
4149
+ },
4150
+ {
4151
+ "name": "page",
4152
+ "type": "str",
4153
+ "required": false,
4154
+ "help": "分 P 序号,默认使用 URL 的 p 或第 1 P"
4155
+ },
4156
+ {
4157
+ "name": "execute",
4158
+ "type": "boolean",
4159
+ "required": false,
4160
+ "help": "实际发送一次;平台受理不代表公开可见"
4161
+ },
4162
+ {
4163
+ "name": "file",
4164
+ "type": "str",
4165
+ "required": false,
4166
+ "help": "从本机文件读取message(UTF-8),与 <message> 二选一。长正文建议走文件:命令行上只剩短参数,不受 shell 引号 / 换行 / 编码影响",
4167
+ "generatedFileFor": "message"
4168
+ }
4169
+ ],
4170
+ "columns": [
4171
+ "dmid",
4172
+ "bvid",
4173
+ "cid",
4174
+ "page",
4175
+ "at",
4176
+ "message",
4177
+ "status",
4178
+ "url"
4179
+ ],
4180
+ "type": "js",
4181
+ "modulePath": "bilibili/danmaku.js",
4182
+ "sourceFile": "bilibili/danmaku.js",
4183
+ "navigateBefore": "https://www.bilibili.com"
4184
+ },
4118
4185
  {
4119
4186
  "site": "bilibili",
4120
4187
  "name": "dm-list",
@@ -5096,6 +5163,12 @@
5096
5163
  "required": false,
5097
5164
  "help": "1=自制 2=转载(默认 1)"
5098
5165
  },
5166
+ {
5167
+ "name": "ai-generated",
5168
+ "type": "boolean",
5169
+ "required": false,
5170
+ "help": "声明含 AI 生成内容(发布和草稿均支持;按当前账号可用选项校验,不能与转载同时选择)"
5171
+ },
5099
5172
  {
5100
5173
  "name": "source",
5101
5174
  "type": "str",
@@ -5276,6 +5349,73 @@
5276
5349
  "sourceFile": "bilibili/video-drafts.js",
5277
5350
  "navigateBefore": "https://member.bilibili.com"
5278
5351
  },
5352
+ {
5353
+ "site": "bilibili",
5354
+ "name": "video-edit",
5355
+ "description": "编辑自己的视频标题、简介和普通标签;未指定字段及活动话题保持原样。默认 dry-run,加 --execute 才保存并回查后台。AI 声明在官网编辑页不可修改。",
5356
+ "access": "write",
5357
+ "domain": "member.bilibili.com",
5358
+ "strategy": "ui",
5359
+ "browser": true,
5360
+ "args": [
5361
+ {
5362
+ "name": "bvid",
5363
+ "type": "string",
5364
+ "required": true,
5365
+ "positional": true,
5366
+ "help": "已有视频的完整 BV 号"
5367
+ },
5368
+ {
5369
+ "name": "title",
5370
+ "type": "string",
5371
+ "required": false,
5372
+ "help": "新的完整标题,最多 80 字"
5373
+ },
5374
+ {
5375
+ "name": "desc",
5376
+ "type": "string",
5377
+ "required": false,
5378
+ "help": "替换简介(纯文本),可传空字符串清空"
5379
+ },
5380
+ {
5381
+ "name": "desc-file",
5382
+ "type": "string",
5383
+ "required": false,
5384
+ "help": "从本机 UTF-8 文件读取新的完整简介"
5385
+ },
5386
+ {
5387
+ "name": "tag",
5388
+ "type": "string",
5389
+ "required": false,
5390
+ "help": "替换全部普通标签,逗号分隔;活动标签保留,不要重复传入"
5391
+ },
5392
+ {
5393
+ "name": "execute",
5394
+ "type": "boolean",
5395
+ "required": false,
5396
+ "help": "保存修改;缺省仅读取并展示修改内容"
5397
+ },
5398
+ {
5399
+ "name": "timeout",
5400
+ "type": "int",
5401
+ "default": 120,
5402
+ "required": false,
5403
+ "help": "整段编辑流程的等待预算(秒);超时后先回查稿件,勿直接重提"
5404
+ }
5405
+ ],
5406
+ "columns": [
5407
+ "bvid",
5408
+ "status",
5409
+ "field",
5410
+ "before",
5411
+ "after",
5412
+ "url"
5413
+ ],
5414
+ "type": "js",
5415
+ "modulePath": "bilibili/video-edit.js",
5416
+ "sourceFile": "bilibili/video-edit.js",
5417
+ "navigateBefore": true
5418
+ },
5279
5419
  {
5280
5420
  "site": "bilibili",
5281
5421
  "name": "watch",
@@ -14121,16 +14261,41 @@
14121
14261
  {
14122
14262
  "site": "douyin",
14123
14263
  "name": "activities",
14124
- "description": "官方活动列表",
14264
+ "description": "查看/筛选官方活动;--id 查看参与规则。ui_args 用于图文/草稿,api_args 用于 publish;规则可能另有必带话题或@要求",
14125
14265
  "access": "read",
14126
14266
  "domain": "creator.douyin.com",
14127
14267
  "strategy": "cookie",
14128
14268
  "browser": true,
14129
- "args": [],
14269
+ "args": [
14270
+ {
14271
+ "name": "query",
14272
+ "type": "str",
14273
+ "required": false,
14274
+ "help": "按活动名称筛选"
14275
+ },
14276
+ {
14277
+ "name": "id",
14278
+ "type": "str",
14279
+ "required": false,
14280
+ "help": "活动 ID,读取完整参与规则"
14281
+ },
14282
+ {
14283
+ "name": "limit",
14284
+ "type": "int",
14285
+ "default": 20,
14286
+ "required": false,
14287
+ "help": ""
14288
+ }
14289
+ ],
14130
14290
  "columns": [
14131
14291
  "activity_id",
14132
14292
  "title",
14133
- "end_time"
14293
+ "start_time",
14294
+ "end_time",
14295
+ "topics",
14296
+ "requirements",
14297
+ "ui_args",
14298
+ "api_args"
14134
14299
  ],
14135
14300
  "type": "js",
14136
14301
  "modulePath": "douyin/activities.js",
@@ -14152,12 +14317,23 @@
14152
14317
  "default": 20,
14153
14318
  "required": false,
14154
14319
  "help": ""
14320
+ },
14321
+ {
14322
+ "name": "cursor",
14323
+ "type": "str",
14324
+ "default": "0",
14325
+ "required": false,
14326
+ "help": "上一页返回的 next_cursor"
14155
14327
  }
14156
14328
  ],
14157
14329
  "columns": [
14158
14330
  "mix_id",
14159
14331
  "name",
14160
- "item_count"
14332
+ "item_count",
14333
+ "next_cursor",
14334
+ "has_more",
14335
+ "ui_args",
14336
+ "api_args"
14161
14337
  ],
14162
14338
  "type": "js",
14163
14339
  "modulePath": "douyin/collections.js",
@@ -14246,6 +14422,120 @@
14246
14422
  "required": false,
14247
14423
  "help": "命令超时(秒),视频上传/转码慢时可调大"
14248
14424
  },
14425
+ {
14426
+ "name": "ai-generated",
14427
+ "type": "boolean",
14428
+ "required": false,
14429
+ "help": "声明内容由 AI 生成(发布和草稿均支持;设置失败时停止提交)"
14430
+ },
14431
+ {
14432
+ "name": "declaration",
14433
+ "type": "str",
14434
+ "required": false,
14435
+ "help": "自主声明:ai / opinion / marketing / fiction / reprint / none",
14436
+ "choices": [
14437
+ "ai",
14438
+ "opinion",
14439
+ "marketing",
14440
+ "fiction",
14441
+ "none",
14442
+ "reprint"
14443
+ ]
14444
+ },
14445
+ {
14446
+ "name": "source",
14447
+ "type": "str",
14448
+ "required": false,
14449
+ "help": "转载来源:external站外 / douyin站内,reprint必填",
14450
+ "choices": [
14451
+ "external",
14452
+ "douyin"
14453
+ ]
14454
+ },
14455
+ {
14456
+ "name": "source-video",
14457
+ "type": "str",
14458
+ "required": false,
14459
+ "help": "站内转载来源作品ID(UI命令须在当前观看历史中)"
14460
+ },
14461
+ {
14462
+ "name": "schedule",
14463
+ "type": "str",
14464
+ "required": false,
14465
+ "help": "定时发布,北京时间 YYYY-MM-DD HH:mm / ISO8601 / Unix秒;2小时至14天后"
14466
+ },
14467
+ {
14468
+ "name": "allow-download",
14469
+ "type": "boolean",
14470
+ "required": false,
14471
+ "help": "允许保存作品(true/false,不传保留平台默认)"
14472
+ },
14473
+ {
14474
+ "name": "collection",
14475
+ "type": "str",
14476
+ "required": false,
14477
+ "help": "合集完整名称;先用 douyin collections 查看账号已有合集"
14478
+ },
14479
+ {
14480
+ "name": "location",
14481
+ "type": "str",
14482
+ "required": false,
14483
+ "help": "地点完整名称,按平台搜索结果精确选择"
14484
+ },
14485
+ {
14486
+ "name": "location-address",
14487
+ "type": "str",
14488
+ "required": false,
14489
+ "help": "地点完整地址,搜索结果重名时用于区分(需 --location)"
14490
+ },
14491
+ {
14492
+ "name": "hotspot",
14493
+ "type": "str",
14494
+ "required": false,
14495
+ "help": "关联热点完整名称"
14496
+ },
14497
+ {
14498
+ "name": "activity",
14499
+ "type": "str",
14500
+ "required": false,
14501
+ "help": "官方活动完整名称;先用 activities 查询,再用 --id 读参与要求"
14502
+ },
14503
+ {
14504
+ "name": "music",
14505
+ "type": "str",
14506
+ "required": false,
14507
+ "help": "音乐完整名称(需要同时指定 --music-author)"
14508
+ },
14509
+ {
14510
+ "name": "music-author",
14511
+ "type": "str",
14512
+ "required": false,
14513
+ "help": "音乐作者完整名称,用于区分同名曲目;先用 douyin music 搜索"
14514
+ },
14515
+ {
14516
+ "name": "music-id",
14517
+ "type": "str",
14518
+ "required": false,
14519
+ "help": "查询结果的精确音乐 ID,避免同名同作者误选"
14520
+ },
14521
+ {
14522
+ "name": "music-query",
14523
+ "type": "str",
14524
+ "required": false,
14525
+ "help": "查询结果中的原搜索词,保留原候选范围"
14526
+ },
14527
+ {
14528
+ "name": "music-category",
14529
+ "type": "str",
14530
+ "required": false,
14531
+ "help": "查询结果中的分类名称,与 music-query 二选一"
14532
+ },
14533
+ {
14534
+ "name": "sync-toutiao",
14535
+ "type": "boolean",
14536
+ "required": false,
14537
+ "help": "同步到今日头条;需公开且平台控件可用,不修改记住我的选择"
14538
+ },
14249
14539
  {
14250
14540
  "name": "file",
14251
14541
  "type": "str",
@@ -14295,7 +14585,7 @@
14295
14585
  {
14296
14586
  "site": "douyin",
14297
14587
  "name": "hashtag",
14298
- "description": "话题搜索 / AI推荐 / 热点词",
14588
+ "description": "查询发布话题 / 封面推荐 / 热点;publish_args 用于 publish-image,视频话题需放入 caption 中的 #话题",
14299
14589
  "access": "read",
14300
14590
  "domain": "creator.douyin.com",
14301
14591
  "strategy": "cookie",
@@ -14338,7 +14628,8 @@
14338
14628
  "columns": [
14339
14629
  "name",
14340
14630
  "id",
14341
- "view_count"
14631
+ "view_count",
14632
+ "publish_args"
14342
14633
  ],
14343
14634
  "type": "js",
14344
14635
  "modulePath": "douyin/hashtag.js",
@@ -14348,7 +14639,7 @@
14348
14639
  {
14349
14640
  "site": "douyin",
14350
14641
  "name": "location",
14351
- "description": "地理位置 POI 搜索",
14642
+ "description": "搜索发布地点;ui_args 用于图文/视频草稿,api_args 用于 publish,重名地点按完整地址区分",
14352
14643
  "access": "read",
14353
14644
  "domain": "creator.douyin.com",
14354
14645
  "strategy": "cookie",
@@ -14367,13 +14658,24 @@
14367
14658
  "default": 20,
14368
14659
  "required": false,
14369
14660
  "help": ""
14661
+ },
14662
+ {
14663
+ "name": "page",
14664
+ "type": "int",
14665
+ "default": 1,
14666
+ "required": false,
14667
+ "help": "结果页码,从1开始"
14370
14668
  }
14371
14669
  ],
14372
14670
  "columns": [
14373
14671
  "poi_id",
14374
14672
  "name",
14375
14673
  "address",
14376
- "city"
14674
+ "city",
14675
+ "has_more",
14676
+ "next_page",
14677
+ "ui_args",
14678
+ "api_args"
14377
14679
  ],
14378
14680
  "type": "js",
14379
14681
  "modulePath": "douyin/location.js",
@@ -14412,6 +14714,78 @@
14412
14714
  "siteSession": "persistent",
14413
14715
  "defaultWindowMode": "foreground"
14414
14716
  },
14717
+ {
14718
+ "site": "douyin",
14719
+ "name": "music",
14720
+ "description": "搜索/查看发布配乐,返回试听地址、作者、时长及 draft/publish-image 可直接使用的 publish_args;视频仅标记音乐信息",
14721
+ "access": "read",
14722
+ "domain": "creator.douyin.com",
14723
+ "strategy": "cookie",
14724
+ "browser": true,
14725
+ "args": [
14726
+ {
14727
+ "name": "query",
14728
+ "type": "str",
14729
+ "required": false,
14730
+ "positional": true,
14731
+ "help": "音乐关键词;不传时查看 --category(默认推荐)"
14732
+ },
14733
+ {
14734
+ "name": "category",
14735
+ "type": "str",
14736
+ "required": false,
14737
+ "help": "分类完整名称,先用 music-categories 查看;与 query 二选一"
14738
+ },
14739
+ {
14740
+ "name": "cursor",
14741
+ "type": "str",
14742
+ "default": "0",
14743
+ "required": false,
14744
+ "help": "上一页返回的 next_cursor;默认第一页"
14745
+ },
14746
+ {
14747
+ "name": "limit",
14748
+ "type": "int",
14749
+ "default": 20,
14750
+ "required": false,
14751
+ "help": "每页1至20首,后续用 cursor 翻页"
14752
+ }
14753
+ ],
14754
+ "columns": [
14755
+ "id",
14756
+ "title",
14757
+ "author",
14758
+ "duration",
14759
+ "uses",
14760
+ "preview_url",
14761
+ "next_cursor",
14762
+ "has_more",
14763
+ "publish_args"
14764
+ ],
14765
+ "type": "js",
14766
+ "modulePath": "douyin/music-categories.js",
14767
+ "sourceFile": "douyin/music-categories.js",
14768
+ "navigateBefore": "https://creator.douyin.com"
14769
+ },
14770
+ {
14771
+ "site": "douyin",
14772
+ "name": "music-categories",
14773
+ "description": "查看推荐、收藏、榜单与音乐分类;将 name 传给 douyin music --category",
14774
+ "access": "read",
14775
+ "domain": "creator.douyin.com",
14776
+ "strategy": "cookie",
14777
+ "browser": true,
14778
+ "args": [],
14779
+ "columns": [
14780
+ "id",
14781
+ "name",
14782
+ "type"
14783
+ ],
14784
+ "type": "js",
14785
+ "modulePath": "douyin/music-categories.js",
14786
+ "sourceFile": "douyin/music-categories.js",
14787
+ "navigateBefore": "https://creator.douyin.com"
14788
+ },
14415
14789
  {
14416
14790
  "site": "douyin",
14417
14791
  "name": "profile",
@@ -14436,7 +14810,7 @@
14436
14810
  {
14437
14811
  "site": "douyin",
14438
14812
  "name": "publish",
14439
- "description": "定时发布视频到抖音(必须设置 2h ~ 14天后的发布时间)",
14813
+ "description": "发布视频到抖音(指定 --schedule 定时,或显式 --immediate 立即发布)",
14440
14814
  "access": "write",
14441
14815
  "domain": "creator.douyin.com",
14442
14816
  "strategy": "cookie",
@@ -14458,8 +14832,14 @@
14458
14832
  {
14459
14833
  "name": "schedule",
14460
14834
  "type": "str",
14461
- "required": true,
14462
- "help": "定时发布时间(ISO8601 或 Unix 秒,2h ~ 14天后)"
14835
+ "required": false,
14836
+ "help": "定时发布时间(ISO8601 或 Unix 秒,2h ~ 14天后),与 --immediate 二选一"
14837
+ },
14838
+ {
14839
+ "name": "immediate",
14840
+ "type": "boolean",
14841
+ "required": false,
14842
+ "help": "立即发布(必须显式指定,不能与 --schedule 同用)"
14463
14843
  },
14464
14844
  {
14465
14845
  "name": "caption",
@@ -14544,6 +14924,42 @@
14544
14924
  "required": false,
14545
14925
  "help": "同步发布到头条"
14546
14926
  },
14927
+ {
14928
+ "name": "ai-generated",
14929
+ "type": "boolean",
14930
+ "required": false,
14931
+ "help": "声明内容由 AI 生成(可选,随定时发布请求提交)"
14932
+ },
14933
+ {
14934
+ "name": "declaration",
14935
+ "type": "str",
14936
+ "required": false,
14937
+ "help": "自主声明:ai / opinion / marketing / fiction / reprint / none",
14938
+ "choices": [
14939
+ "ai",
14940
+ "opinion",
14941
+ "marketing",
14942
+ "fiction",
14943
+ "none",
14944
+ "reprint"
14945
+ ]
14946
+ },
14947
+ {
14948
+ "name": "source",
14949
+ "type": "str",
14950
+ "required": false,
14951
+ "help": "转载来源:external站外 / douyin站内,reprint必填",
14952
+ "choices": [
14953
+ "external",
14954
+ "douyin"
14955
+ ]
14956
+ },
14957
+ {
14958
+ "name": "source-video",
14959
+ "type": "str",
14960
+ "required": false,
14961
+ "help": "站内转载来源作品ID(UI命令须在当前观看历史中)"
14962
+ },
14547
14963
  {
14548
14964
  "name": "file",
14549
14965
  "type": "str",
@@ -14610,6 +15026,125 @@
14610
15026
  "default": false,
14611
15027
  "required": false,
14612
15028
  "help": "暂存为草稿,不直接发布"
15029
+ },
15030
+ {
15031
+ "name": "ai-generated",
15032
+ "type": "boolean",
15033
+ "required": false,
15034
+ "help": "声明内容由 AI 生成(发布和草稿均支持;设置失败时停止提交)"
15035
+ },
15036
+ {
15037
+ "name": "declaration",
15038
+ "type": "str",
15039
+ "required": false,
15040
+ "help": "自主声明:ai / opinion / marketing / fiction / reprint / none",
15041
+ "choices": [
15042
+ "ai",
15043
+ "opinion",
15044
+ "marketing",
15045
+ "fiction",
15046
+ "none",
15047
+ "reprint"
15048
+ ]
15049
+ },
15050
+ {
15051
+ "name": "source",
15052
+ "type": "str",
15053
+ "required": false,
15054
+ "help": "转载来源:external站外 / douyin站内,reprint必填",
15055
+ "choices": [
15056
+ "external",
15057
+ "douyin"
15058
+ ]
15059
+ },
15060
+ {
15061
+ "name": "source-video",
15062
+ "type": "str",
15063
+ "required": false,
15064
+ "help": "站内转载来源作品ID(UI命令须在当前观看历史中)"
15065
+ },
15066
+ {
15067
+ "name": "schedule",
15068
+ "type": "str",
15069
+ "required": false,
15070
+ "help": "定时发布,北京时间 YYYY-MM-DD HH:mm / ISO8601 / Unix秒;2小时至14天后"
15071
+ },
15072
+ {
15073
+ "name": "allow-download",
15074
+ "type": "boolean",
15075
+ "required": false,
15076
+ "help": "允许保存作品(true/false,不传保留平台默认)"
15077
+ },
15078
+ {
15079
+ "name": "collection",
15080
+ "type": "str",
15081
+ "required": false,
15082
+ "help": "合集完整名称;先用 douyin collections 查看账号已有合集"
15083
+ },
15084
+ {
15085
+ "name": "location",
15086
+ "type": "str",
15087
+ "required": false,
15088
+ "help": "地点完整名称,按平台搜索结果精确选择"
15089
+ },
15090
+ {
15091
+ "name": "location-address",
15092
+ "type": "str",
15093
+ "required": false,
15094
+ "help": "地点完整地址,搜索结果重名时用于区分(需 --location)"
15095
+ },
15096
+ {
15097
+ "name": "hotspot",
15098
+ "type": "str",
15099
+ "required": false,
15100
+ "help": "关联热点完整名称"
15101
+ },
15102
+ {
15103
+ "name": "activity",
15104
+ "type": "str",
15105
+ "required": false,
15106
+ "help": "官方活动完整名称;先用 activities 查询,再用 --id 读参与要求"
15107
+ },
15108
+ {
15109
+ "name": "music",
15110
+ "type": "str",
15111
+ "required": false,
15112
+ "help": "音乐完整名称(需要同时指定 --music-author)"
15113
+ },
15114
+ {
15115
+ "name": "music-author",
15116
+ "type": "str",
15117
+ "required": false,
15118
+ "help": "音乐作者完整名称,用于区分同名曲目;先用 douyin music 搜索"
15119
+ },
15120
+ {
15121
+ "name": "music-id",
15122
+ "type": "str",
15123
+ "required": false,
15124
+ "help": "查询结果的精确音乐 ID,避免同名同作者误选"
15125
+ },
15126
+ {
15127
+ "name": "music-query",
15128
+ "type": "str",
15129
+ "required": false,
15130
+ "help": "查询结果中的原搜索词,保留原候选范围"
15131
+ },
15132
+ {
15133
+ "name": "music-category",
15134
+ "type": "str",
15135
+ "required": false,
15136
+ "help": "查询结果中的分类名称,与 music-query 二选一"
15137
+ },
15138
+ {
15139
+ "name": "visibility",
15140
+ "type": "str",
15141
+ "required": false,
15142
+ "help": "可见范围(不传保留平台默认)",
15143
+ "choices": [
15144
+ "public",
15145
+ "friends",
15146
+ "private"
15147
+ ]
14613
15148
  }
14614
15149
  ],
14615
15150
  "columns": [
@@ -22054,6 +22589,71 @@
22054
22589
  "sourceFile": "jike/comment.js",
22055
22590
  "navigateBefore": "https://web.okjike.com"
22056
22591
  },
22592
+ {
22593
+ "site": "jike",
22594
+ "name": "comments",
22595
+ "description": "读取即刻帖子的评论、楼中楼,或按评论回执 ID 精确回查(需登录)",
22596
+ "access": "read",
22597
+ "example": "ppcli jike comments 6a9f43388262cfba44f550db --limit 20 -f json",
22598
+ "domain": "web.okjike.com",
22599
+ "strategy": "cookie",
22600
+ "browser": true,
22601
+ "args": [
22602
+ {
22603
+ "name": "id",
22604
+ "type": "string",
22605
+ "required": true,
22606
+ "positional": true,
22607
+ "help": "帖子 ID"
22608
+ },
22609
+ {
22610
+ "name": "comment-id",
22611
+ "type": "string",
22612
+ "required": false,
22613
+ "help": "只回查这一条评论(例如 comment 返回的 comment_id)"
22614
+ },
22615
+ {
22616
+ "name": "thread",
22617
+ "type": "string",
22618
+ "required": false,
22619
+ "help": "读取这个顶级评论 ID 下的楼中楼;与 --comment-id 互斥"
22620
+ },
22621
+ {
22622
+ "name": "sort",
22623
+ "type": "string",
22624
+ "default": "time",
22625
+ "required": false,
22626
+ "help": "列表排序:time 时间 / likes 官网智能排序",
22627
+ "choices": [
22628
+ "time",
22629
+ "likes"
22630
+ ]
22631
+ },
22632
+ {
22633
+ "name": "limit",
22634
+ "type": "int",
22635
+ "default": 20,
22636
+ "required": false,
22637
+ "help": "列表最多返回多少条;不含各条 hotReplies 的预览"
22638
+ }
22639
+ ],
22640
+ "columns": [
22641
+ "id",
22642
+ "postId",
22643
+ "threadId",
22644
+ "author",
22645
+ "content",
22646
+ "likes",
22647
+ "replies",
22648
+ "time",
22649
+ "level",
22650
+ "status"
22651
+ ],
22652
+ "type": "js",
22653
+ "modulePath": "jike/comments.js",
22654
+ "sourceFile": "jike/comments.js",
22655
+ "navigateBefore": "https://web.okjike.com"
22656
+ },
22057
22657
  {
22058
22658
  "site": "jike",
22059
22659
  "name": "create",
@@ -22089,6 +22689,59 @@
22089
22689
  "sourceFile": "jike/create.js",
22090
22690
  "navigateBefore": true
22091
22691
  },
22692
+ {
22693
+ "site": "jike",
22694
+ "name": "delete",
22695
+ "description": "删除自己的即刻动态、转发或指定评论。默认 dry-run 核对目标;删除不可恢复,加 --execute 才执行。按 ID 校验作者与所属帖子,提交后回查,不自动重试。",
22696
+ "access": "write",
22697
+ "domain": "web.okjike.com",
22698
+ "strategy": "cookie",
22699
+ "browser": true,
22700
+ "args": [
22701
+ {
22702
+ "name": "id",
22703
+ "type": "string",
22704
+ "required": true,
22705
+ "positional": true,
22706
+ "help": "动态/转发 ID;删除评论时传该评论所属的帖子 ID"
22707
+ },
22708
+ {
22709
+ "name": "type",
22710
+ "type": "string",
22711
+ "default": "post",
22712
+ "required": false,
22713
+ "help": "目标帖子类型:post 原创动态,repost 转发",
22714
+ "choices": [
22715
+ "post",
22716
+ "repost"
22717
+ ]
22718
+ },
22719
+ {
22720
+ "name": "comment-id",
22721
+ "type": "string",
22722
+ "required": false,
22723
+ "help": "删除此评论,id 必须是评论所属的帖子;不删除帖子本身"
22724
+ },
22725
+ {
22726
+ "name": "execute",
22727
+ "type": "boolean",
22728
+ "required": false,
22729
+ "help": "实际删除;不带时只核对目标并展示内容"
22730
+ }
22731
+ ],
22732
+ "columns": [
22733
+ "id",
22734
+ "postId",
22735
+ "type",
22736
+ "status",
22737
+ "content",
22738
+ "url"
22739
+ ],
22740
+ "type": "js",
22741
+ "modulePath": "jike/delete.js",
22742
+ "sourceFile": "jike/delete.js",
22743
+ "navigateBefore": "https://web.okjike.com"
22744
+ },
22092
22745
  {
22093
22746
  "site": "jike",
22094
22747
  "name": "feed",
@@ -22323,9 +22976,9 @@
22323
22976
  {
22324
22977
  "site": "jike",
22325
22978
  "name": "topic",
22326
- "description": "即刻话题/圈子帖子",
22979
+ "description": "即刻话题/圈子帖子(登录后按游标分页)",
22327
22980
  "access": "read",
22328
- "domain": "m.okjike.com",
22981
+ "domain": "web.okjike.com",
22329
22982
  "strategy": "cookie",
22330
22983
  "browser": true,
22331
22984
  "args": [
@@ -22341,7 +22994,7 @@
22341
22994
  "type": "int",
22342
22995
  "default": 20,
22343
22996
  "required": false,
22344
- "help": "Number of posts"
22997
+ "help": "最多返回多少条帖子"
22345
22998
  }
22346
22999
  ],
22347
23000
  "columns": [
@@ -22350,12 +23003,13 @@
22350
23003
  "likes",
22351
23004
  "comments",
22352
23005
  "time",
22353
- "url"
23006
+ "url",
23007
+ "id"
22354
23008
  ],
22355
23009
  "type": "js",
22356
23010
  "modulePath": "jike/topic.js",
22357
23011
  "sourceFile": "jike/topic.js",
22358
- "navigateBefore": "https://m.okjike.com"
23012
+ "navigateBefore": "https://web.okjike.com"
22359
23013
  },
22360
23014
  {
22361
23015
  "site": "jike",
@@ -30017,7 +30671,11 @@
30017
30671
  "likes",
30018
30672
  "comments",
30019
30673
  "views",
30020
- "id"
30674
+ "content",
30675
+ "id",
30676
+ "momentId",
30677
+ "userId",
30678
+ "entityType"
30021
30679
  ],
30022
30680
  "type": "js",
30023
30681
  "modulePath": "nowcoder/recommend.js",
@@ -35096,7 +35754,9 @@
35096
35754
  ],
35097
35755
  "columns": [
35098
35756
  "status",
35099
- "message"
35757
+ "message",
35758
+ "comment_id",
35759
+ "url"
35100
35760
  ],
35101
35761
  "type": "js",
35102
35762
  "modulePath": "reddit/comment.js",
@@ -50480,6 +51140,44 @@
50480
51140
  "navigateBefore": false,
50481
51141
  "siteSession": "persistent"
50482
51142
  },
51143
+ {
51144
+ "site": "xiaohongshu",
51145
+ "name": "activities",
51146
+ "description": "查看/筛选当前可关联活动及参与说明、截止时间、所需话题和发布参数",
51147
+ "access": "read",
51148
+ "domain": "creator.xiaohongshu.com",
51149
+ "strategy": "cookie",
51150
+ "browser": true,
51151
+ "args": [
51152
+ {
51153
+ "name": "query",
51154
+ "type": "str",
51155
+ "required": false,
51156
+ "help": "在当前完整候选列表中按名称或活动说明筛选"
51157
+ },
51158
+ {
51159
+ "name": "limit",
51160
+ "type": "int",
51161
+ "default": 20,
51162
+ "required": false,
51163
+ "help": ""
51164
+ }
51165
+ ],
51166
+ "columns": [
51167
+ "id",
51168
+ "name",
51169
+ "description",
51170
+ "starts_at",
51171
+ "ends_at",
51172
+ "topics",
51173
+ "details_url",
51174
+ "publish_args"
51175
+ ],
51176
+ "type": "js",
51177
+ "modulePath": "xiaohongshu/activities.js",
51178
+ "sourceFile": "xiaohongshu/activities.js",
51179
+ "navigateBefore": false
51180
+ },
50483
51181
  {
50484
51182
  "site": "xiaohongshu",
50485
51183
  "name": "ask",
@@ -50527,6 +51225,36 @@
50527
51225
  "sourceFile": "xiaohongshu/ask.js",
50528
51226
  "navigateBefore": false
50529
51227
  },
51228
+ {
51229
+ "site": "xiaohongshu",
51230
+ "name": "collections",
51231
+ "description": "查看当前账号图文/视频合集候选(普通合集);当前尚未接入发布选择,不能把 ID 直接作为发布参数",
51232
+ "access": "read",
51233
+ "domain": "creator.xiaohongshu.com",
51234
+ "strategy": "cookie",
51235
+ "browser": true,
51236
+ "args": [
51237
+ {
51238
+ "name": "cursor",
51239
+ "type": "str",
51240
+ "default": "",
51241
+ "required": false,
51242
+ "help": "上一页的 next_cursor;按平台完整页返回,不截断候选"
51243
+ }
51244
+ ],
51245
+ "columns": [
51246
+ "id",
51247
+ "name",
51248
+ "type",
51249
+ "next_cursor",
51250
+ "has_more",
51251
+ "publish_supported"
51252
+ ],
51253
+ "type": "js",
51254
+ "modulePath": "xiaohongshu/collections.js",
51255
+ "sourceFile": "xiaohongshu/collections.js",
51256
+ "navigateBefore": false
51257
+ },
50530
51258
  {
50531
51259
  "site": "xiaohongshu",
50532
51260
  "name": "comments",
@@ -51000,6 +51728,28 @@
51000
51728
  "sourceFile": "xiaohongshu/follow.js",
51001
51729
  "navigateBefore": false
51002
51730
  },
51731
+ {
51732
+ "site": "xiaohongshu",
51733
+ "name": "groups",
51734
+ "description": "查看当前账号创建/管理的群聊及平台可绑定状态;发布绑定尚未接入,不创建群聊",
51735
+ "access": "read",
51736
+ "domain": "creator.xiaohongshu.com",
51737
+ "strategy": "cookie",
51738
+ "browser": true,
51739
+ "args": [],
51740
+ "columns": [
51741
+ "id",
51742
+ "name",
51743
+ "role",
51744
+ "bindable",
51745
+ "description",
51746
+ "publish_supported"
51747
+ ],
51748
+ "type": "js",
51749
+ "modulePath": "xiaohongshu/groups.js",
51750
+ "sourceFile": "xiaohongshu/groups.js",
51751
+ "navigateBefore": false
51752
+ },
51003
51753
  {
51004
51754
  "site": "xiaohongshu",
51005
51755
  "name": "liked",
@@ -51037,6 +51787,42 @@
51037
51787
  "sourceFile": "xiaohongshu/liked.js",
51038
51788
  "navigateBefore": false
51039
51789
  },
51790
+ {
51791
+ "site": "xiaohongshu",
51792
+ "name": "location",
51793
+ "description": "搜索发布地点,返回完整地址以区分同名地点,以及可直接使用的发布参数",
51794
+ "access": "read",
51795
+ "domain": "creator.xiaohongshu.com",
51796
+ "strategy": "cookie",
51797
+ "browser": true,
51798
+ "args": [
51799
+ {
51800
+ "name": "query",
51801
+ "type": "str",
51802
+ "required": true,
51803
+ "positional": true,
51804
+ "help": "地点关键词"
51805
+ },
51806
+ {
51807
+ "name": "limit",
51808
+ "type": "int",
51809
+ "default": 20,
51810
+ "required": false,
51811
+ "help": ""
51812
+ }
51813
+ ],
51814
+ "columns": [
51815
+ "poi_id",
51816
+ "name",
51817
+ "address",
51818
+ "city",
51819
+ "publish_args"
51820
+ ],
51821
+ "type": "js",
51822
+ "modulePath": "xiaohongshu/location.js",
51823
+ "sourceFile": "xiaohongshu/location.js",
51824
+ "navigateBefore": false
51825
+ },
51040
51826
  {
51041
51827
  "site": "xiaohongshu",
51042
51828
  "name": "login",
@@ -51181,7 +51967,13 @@
51181
51967
  "name": "topics",
51182
51968
  "type": "str",
51183
51969
  "required": false,
51184
- "help": "话题标签,逗号分隔,不含 # 号。平台话题库匹配不上的会自动跳过并在结果中提示,不影响发布"
51970
+ "help": "话题名称,逗号分隔,最多10个;先用 topics 查询。无法准确选中时停止提交"
51971
+ },
51972
+ {
51973
+ "name": "topic-ids",
51974
+ "type": "str",
51975
+ "required": false,
51976
+ "help": "topics 查询返回的 ID,逗号分隔,与 --topics 一一对应;防止同名话题选错"
51185
51977
  },
51186
51978
  {
51187
51979
  "name": "draft",
@@ -51189,6 +51981,129 @@
51189
51981
  "default": false,
51190
51982
  "required": false,
51191
51983
  "help": "保存为草稿,不直接发布"
51984
+ },
51985
+ {
51986
+ "name": "timeout",
51987
+ "type": "int",
51988
+ "default": 300,
51989
+ "required": false,
51990
+ "help": "整段发布流程的等待预算(秒);超时后先用 creator-notes 回查,勿直接重复发布"
51991
+ },
51992
+ {
51993
+ "name": "ai-generated",
51994
+ "type": "boolean",
51995
+ "required": false,
51996
+ "help": "声明内容由 AI 生成(发布和草稿均支持;设置失败时停止提交)"
51997
+ },
51998
+ {
51999
+ "name": "declaration",
52000
+ "type": "str",
52001
+ "required": false,
52002
+ "help": "内容声明:ai / fiction / marketing / reprint / self-shot",
52003
+ "choices": [
52004
+ "ai",
52005
+ "fiction",
52006
+ "marketing",
52007
+ "reprint",
52008
+ "self-shot"
52009
+ ]
52010
+ },
52011
+ {
52012
+ "name": "source",
52013
+ "type": "str",
52014
+ "required": false,
52015
+ "help": "转载来源媒体名称(declaration=reprint 必填)"
52016
+ },
52017
+ {
52018
+ "name": "shot-location",
52019
+ "type": "str",
52020
+ "required": false,
52021
+ "help": "自主拍摄地点(使用平台候选地点的完整名称)"
52022
+ },
52023
+ {
52024
+ "name": "shot-date",
52025
+ "type": "str",
52026
+ "required": false,
52027
+ "help": "自主拍摄日期 YYYY-MM-DD"
52028
+ },
52029
+ {
52030
+ "name": "original",
52031
+ "type": "boolean",
52032
+ "required": false,
52033
+ "help": "声明原创;true 同意平台原创声明须知,false 取消"
52034
+ },
52035
+ {
52036
+ "name": "visibility",
52037
+ "type": "str",
52038
+ "required": false,
52039
+ "help": "可见范围;include/exclude 需同时指定 --audience",
52040
+ "choices": [
52041
+ "public",
52042
+ "private",
52043
+ "friends",
52044
+ "include",
52045
+ "exclude"
52046
+ ]
52047
+ },
52048
+ {
52049
+ "name": "audience",
52050
+ "type": "str",
52051
+ "required": false,
52052
+ "help": "定向可见用户昵称,逗号分隔(最多200人,须在平台可选列表中)"
52053
+ },
52054
+ {
52055
+ "name": "schedule",
52056
+ "type": "str",
52057
+ "required": false,
52058
+ "help": "北京时间 YYYY-MM-DD HH:mm / 带时区 ISO8601 / Unix秒;1小时至14天后"
52059
+ },
52060
+ {
52061
+ "name": "allow-duet",
52062
+ "type": "boolean",
52063
+ "required": false,
52064
+ "help": "允许合拍(true/false,不传保留平台默认)"
52065
+ },
52066
+ {
52067
+ "name": "allow-copy",
52068
+ "type": "boolean",
52069
+ "required": false,
52070
+ "help": "允许正文复制(true/false,不传保留平台默认)"
52071
+ },
52072
+ {
52073
+ "name": "location",
52074
+ "type": "str",
52075
+ "required": false,
52076
+ "help": "地点完整名称,按平台搜索结果精确选择"
52077
+ },
52078
+ {
52079
+ "name": "location-address",
52080
+ "type": "str",
52081
+ "required": false,
52082
+ "help": "地点完整地址,使用 xiaohongshu location 返回的地址区分重名"
52083
+ },
52084
+ {
52085
+ "name": "activity",
52086
+ "type": "str",
52087
+ "required": false,
52088
+ "help": "关联活动完整名称(平台会自动添加活动话题)"
52089
+ },
52090
+ {
52091
+ "name": "quote-note",
52092
+ "type": "str",
52093
+ "required": false,
52094
+ "help": "引用笔记链接(小红书完整链接,包含访问所需参数)"
52095
+ },
52096
+ {
52097
+ "name": "quote-title",
52098
+ "type": "str",
52099
+ "required": false,
52100
+ "help": "引用自己已发布笔记的完整标题,与 --quote-note 二选一"
52101
+ },
52102
+ {
52103
+ "name": "attachment",
52104
+ "type": "str",
52105
+ "required": false,
52106
+ "help": "文件附件路径:pdf/doc/docx/ppt/pptx,最多100MB"
51192
52107
  }
51193
52108
  ],
51194
52109
  "columns": [
@@ -51239,7 +52154,13 @@
51239
52154
  "name": "topics",
51240
52155
  "type": "str",
51241
52156
  "required": false,
51242
- "help": "话题标签,逗号分隔,不含 # 号,最多10个"
52157
+ "help": "话题名称,逗号分隔,最多10个;先用 topics 查询。无法准确选中时停止提交"
52158
+ },
52159
+ {
52160
+ "name": "topic-ids",
52161
+ "type": "str",
52162
+ "required": false,
52163
+ "help": "topics 查询返回的 ID,逗号分隔,与 --topics 一一对应;防止同名话题选错"
51243
52164
  },
51244
52165
  {
51245
52166
  "name": "draft",
@@ -51247,6 +52168,134 @@
51247
52168
  "default": false,
51248
52169
  "required": false,
51249
52170
  "help": "暂存为草稿,不直接发布"
52171
+ },
52172
+ {
52173
+ "name": "ai-generated",
52174
+ "type": "boolean",
52175
+ "required": false,
52176
+ "help": "声明内容由 AI 生成(发布和草稿均支持;设置失败时停止提交)"
52177
+ },
52178
+ {
52179
+ "name": "declaration",
52180
+ "type": "str",
52181
+ "required": false,
52182
+ "help": "内容声明:ai / fiction / marketing / reprint / self-shot",
52183
+ "choices": [
52184
+ "ai",
52185
+ "fiction",
52186
+ "marketing",
52187
+ "reprint",
52188
+ "self-shot"
52189
+ ]
52190
+ },
52191
+ {
52192
+ "name": "source",
52193
+ "type": "str",
52194
+ "required": false,
52195
+ "help": "转载来源媒体名称(declaration=reprint 必填)"
52196
+ },
52197
+ {
52198
+ "name": "shot-location",
52199
+ "type": "str",
52200
+ "required": false,
52201
+ "help": "自主拍摄地点(使用平台候选地点的完整名称)"
52202
+ },
52203
+ {
52204
+ "name": "shot-date",
52205
+ "type": "str",
52206
+ "required": false,
52207
+ "help": "自主拍摄日期 YYYY-MM-DD"
52208
+ },
52209
+ {
52210
+ "name": "original",
52211
+ "type": "boolean",
52212
+ "required": false,
52213
+ "help": "声明原创;true 同意平台原创声明须知,false 取消"
52214
+ },
52215
+ {
52216
+ "name": "visibility",
52217
+ "type": "str",
52218
+ "required": false,
52219
+ "help": "可见范围;include/exclude 需同时指定 --audience",
52220
+ "choices": [
52221
+ "public",
52222
+ "private",
52223
+ "friends",
52224
+ "include",
52225
+ "exclude"
52226
+ ]
52227
+ },
52228
+ {
52229
+ "name": "audience",
52230
+ "type": "str",
52231
+ "required": false,
52232
+ "help": "定向可见用户昵称,逗号分隔(最多200人,须在平台可选列表中)"
52233
+ },
52234
+ {
52235
+ "name": "schedule",
52236
+ "type": "str",
52237
+ "required": false,
52238
+ "help": "北京时间 YYYY-MM-DD HH:mm / 带时区 ISO8601 / Unix秒;1小时至14天后"
52239
+ },
52240
+ {
52241
+ "name": "location",
52242
+ "type": "str",
52243
+ "required": false,
52244
+ "help": "地点完整名称,按平台搜索结果精确选择"
52245
+ },
52246
+ {
52247
+ "name": "location-address",
52248
+ "type": "str",
52249
+ "required": false,
52250
+ "help": "地点完整地址,使用 xiaohongshu location 返回的地址区分重名"
52251
+ },
52252
+ {
52253
+ "name": "activity",
52254
+ "type": "str",
52255
+ "required": false,
52256
+ "help": "关联活动完整名称(平台会自动添加活动话题)"
52257
+ },
52258
+ {
52259
+ "name": "quote-note",
52260
+ "type": "str",
52261
+ "required": false,
52262
+ "help": "引用笔记链接(小红书完整链接,包含访问所需参数)"
52263
+ },
52264
+ {
52265
+ "name": "quote-title",
52266
+ "type": "str",
52267
+ "required": false,
52268
+ "help": "引用自己已发布笔记的完整标题,与 --quote-note 二选一"
52269
+ },
52270
+ {
52271
+ "name": "chapters",
52272
+ "type": "str",
52273
+ "required": false,
52274
+ "help": "章节 JSON 文件路径:[{time:整数秒,title:章节名,description:描述}],视频须至少15秒"
52275
+ },
52276
+ {
52277
+ "name": "summary",
52278
+ "type": "str",
52279
+ "required": false,
52280
+ "help": "视频内容总结(最多100字)"
52281
+ },
52282
+ {
52283
+ "name": "cover",
52284
+ "type": "str",
52285
+ "required": false,
52286
+ "help": "自定义视频封面图片路径(jpg/png/webp)"
52287
+ },
52288
+ {
52289
+ "name": "cover-ratio",
52290
+ "type": "str",
52291
+ "required": false,
52292
+ "help": "封面裁剪比例,需同时提供 --cover",
52293
+ "choices": [
52294
+ "original",
52295
+ "1:1",
52296
+ "3:4",
52297
+ "4:3"
52298
+ ]
51250
52299
  }
51251
52300
  ],
51252
52301
  "columns": [
@@ -51332,6 +52381,49 @@
51332
52381
  "sourceFile": "xiaohongshu/search.js",
51333
52382
  "navigateBefore": false
51334
52383
  },
52384
+ {
52385
+ "site": "xiaohongshu",
52386
+ "name": "topics",
52387
+ "description": "搜索发布可用话题,返回浏览量、关联活动及 publish/publish-video 可直接使用的 publish_args",
52388
+ "access": "read",
52389
+ "domain": "creator.xiaohongshu.com",
52390
+ "strategy": "cookie",
52391
+ "browser": true,
52392
+ "args": [
52393
+ {
52394
+ "name": "query",
52395
+ "type": "str",
52396
+ "required": true,
52397
+ "positional": true,
52398
+ "help": "话题关键词,不带 #"
52399
+ },
52400
+ {
52401
+ "name": "context",
52402
+ "type": "str",
52403
+ "default": "",
52404
+ "required": false,
52405
+ "help": "拟发布正文,供平台排序参考"
52406
+ },
52407
+ {
52408
+ "name": "limit",
52409
+ "type": "int",
52410
+ "default": 20,
52411
+ "required": false,
52412
+ "help": ""
52413
+ }
52414
+ ],
52415
+ "columns": [
52416
+ "id",
52417
+ "name",
52418
+ "views",
52419
+ "activity",
52420
+ "publish_args"
52421
+ ],
52422
+ "type": "js",
52423
+ "modulePath": "xiaohongshu/topics.js",
52424
+ "sourceFile": "xiaohongshu/topics.js",
52425
+ "navigateBefore": false
52426
+ },
51335
52427
  {
51336
52428
  "site": "xiaohongshu",
51337
52429
  "name": "unfollow",