publishport-opencli 1.0.28 → 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.
package/cli-manifest.json CHANGED
@@ -14261,16 +14261,41 @@
14261
14261
  {
14262
14262
  "site": "douyin",
14263
14263
  "name": "activities",
14264
- "description": "官方活动列表",
14264
+ "description": "查看/筛选官方活动;--id 查看参与规则。ui_args 用于图文/草稿,api_args 用于 publish;规则可能另有必带话题或@要求",
14265
14265
  "access": "read",
14266
14266
  "domain": "creator.douyin.com",
14267
14267
  "strategy": "cookie",
14268
14268
  "browser": true,
14269
- "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
+ ],
14270
14290
  "columns": [
14271
14291
  "activity_id",
14272
14292
  "title",
14273
- "end_time"
14293
+ "start_time",
14294
+ "end_time",
14295
+ "topics",
14296
+ "requirements",
14297
+ "ui_args",
14298
+ "api_args"
14274
14299
  ],
14275
14300
  "type": "js",
14276
14301
  "modulePath": "douyin/activities.js",
@@ -14292,12 +14317,23 @@
14292
14317
  "default": 20,
14293
14318
  "required": false,
14294
14319
  "help": ""
14320
+ },
14321
+ {
14322
+ "name": "cursor",
14323
+ "type": "str",
14324
+ "default": "0",
14325
+ "required": false,
14326
+ "help": "上一页返回的 next_cursor"
14295
14327
  }
14296
14328
  ],
14297
14329
  "columns": [
14298
14330
  "mix_id",
14299
14331
  "name",
14300
- "item_count"
14332
+ "item_count",
14333
+ "next_cursor",
14334
+ "has_more",
14335
+ "ui_args",
14336
+ "api_args"
14301
14337
  ],
14302
14338
  "type": "js",
14303
14339
  "modulePath": "douyin/collections.js",
@@ -14386,6 +14422,120 @@
14386
14422
  "required": false,
14387
14423
  "help": "命令超时(秒),视频上传/转码慢时可调大"
14388
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
+ },
14389
14539
  {
14390
14540
  "name": "file",
14391
14541
  "type": "str",
@@ -14435,7 +14585,7 @@
14435
14585
  {
14436
14586
  "site": "douyin",
14437
14587
  "name": "hashtag",
14438
- "description": "话题搜索 / AI推荐 / 热点词",
14588
+ "description": "查询发布话题 / 封面推荐 / 热点;publish_args 用于 publish-image,视频话题需放入 caption 中的 #话题",
14439
14589
  "access": "read",
14440
14590
  "domain": "creator.douyin.com",
14441
14591
  "strategy": "cookie",
@@ -14478,7 +14628,8 @@
14478
14628
  "columns": [
14479
14629
  "name",
14480
14630
  "id",
14481
- "view_count"
14631
+ "view_count",
14632
+ "publish_args"
14482
14633
  ],
14483
14634
  "type": "js",
14484
14635
  "modulePath": "douyin/hashtag.js",
@@ -14488,7 +14639,7 @@
14488
14639
  {
14489
14640
  "site": "douyin",
14490
14641
  "name": "location",
14491
- "description": "地理位置 POI 搜索",
14642
+ "description": "搜索发布地点;ui_args 用于图文/视频草稿,api_args 用于 publish,重名地点按完整地址区分",
14492
14643
  "access": "read",
14493
14644
  "domain": "creator.douyin.com",
14494
14645
  "strategy": "cookie",
@@ -14507,13 +14658,24 @@
14507
14658
  "default": 20,
14508
14659
  "required": false,
14509
14660
  "help": ""
14661
+ },
14662
+ {
14663
+ "name": "page",
14664
+ "type": "int",
14665
+ "default": 1,
14666
+ "required": false,
14667
+ "help": "结果页码,从1开始"
14510
14668
  }
14511
14669
  ],
14512
14670
  "columns": [
14513
14671
  "poi_id",
14514
14672
  "name",
14515
14673
  "address",
14516
- "city"
14674
+ "city",
14675
+ "has_more",
14676
+ "next_page",
14677
+ "ui_args",
14678
+ "api_args"
14517
14679
  ],
14518
14680
  "type": "js",
14519
14681
  "modulePath": "douyin/location.js",
@@ -14552,6 +14714,78 @@
14552
14714
  "siteSession": "persistent",
14553
14715
  "defaultWindowMode": "foreground"
14554
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
+ },
14555
14789
  {
14556
14790
  "site": "douyin",
14557
14791
  "name": "profile",
@@ -14576,7 +14810,7 @@
14576
14810
  {
14577
14811
  "site": "douyin",
14578
14812
  "name": "publish",
14579
- "description": "定时发布视频到抖音(必须设置 2h ~ 14天后的发布时间)",
14813
+ "description": "发布视频到抖音(指定 --schedule 定时,或显式 --immediate 立即发布)",
14580
14814
  "access": "write",
14581
14815
  "domain": "creator.douyin.com",
14582
14816
  "strategy": "cookie",
@@ -14598,8 +14832,14 @@
14598
14832
  {
14599
14833
  "name": "schedule",
14600
14834
  "type": "str",
14601
- "required": true,
14602
- "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 同用)"
14603
14843
  },
14604
14844
  {
14605
14845
  "name": "caption",
@@ -14684,6 +14924,42 @@
14684
14924
  "required": false,
14685
14925
  "help": "同步发布到头条"
14686
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
+ },
14687
14963
  {
14688
14964
  "name": "file",
14689
14965
  "type": "str",
@@ -14750,6 +15026,125 @@
14750
15026
  "default": false,
14751
15027
  "required": false,
14752
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
+ ]
14753
15148
  }
14754
15149
  ],
14755
15150
  "columns": [
@@ -50745,6 +51140,44 @@
50745
51140
  "navigateBefore": false,
50746
51141
  "siteSession": "persistent"
50747
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
+ },
50748
51181
  {
50749
51182
  "site": "xiaohongshu",
50750
51183
  "name": "ask",
@@ -50792,6 +51225,36 @@
50792
51225
  "sourceFile": "xiaohongshu/ask.js",
50793
51226
  "navigateBefore": false
50794
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
+ },
50795
51258
  {
50796
51259
  "site": "xiaohongshu",
50797
51260
  "name": "comments",
@@ -51265,6 +51728,28 @@
51265
51728
  "sourceFile": "xiaohongshu/follow.js",
51266
51729
  "navigateBefore": false
51267
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
+ },
51268
51753
  {
51269
51754
  "site": "xiaohongshu",
51270
51755
  "name": "liked",
@@ -51302,6 +51787,42 @@
51302
51787
  "sourceFile": "xiaohongshu/liked.js",
51303
51788
  "navigateBefore": false
51304
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
+ },
51305
51826
  {
51306
51827
  "site": "xiaohongshu",
51307
51828
  "name": "login",
@@ -51446,7 +51967,13 @@
51446
51967
  "name": "topics",
51447
51968
  "type": "str",
51448
51969
  "required": false,
51449
- "help": "话题标签,逗号分隔,不含 # 号。平台话题库匹配不上的会自动跳过并在结果中提示,不影响发布"
51970
+ "help": "话题名称,逗号分隔,最多10个;先用 topics 查询。无法准确选中时停止提交"
51971
+ },
51972
+ {
51973
+ "name": "topic-ids",
51974
+ "type": "str",
51975
+ "required": false,
51976
+ "help": "topics 查询返回的 ID,逗号分隔,与 --topics 一一对应;防止同名话题选错"
51450
51977
  },
51451
51978
  {
51452
51979
  "name": "draft",
@@ -51461,6 +51988,122 @@
51461
51988
  "default": 300,
51462
51989
  "required": false,
51463
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"
51464
52107
  }
51465
52108
  ],
51466
52109
  "columns": [
@@ -51511,7 +52154,13 @@
51511
52154
  "name": "topics",
51512
52155
  "type": "str",
51513
52156
  "required": false,
51514
- "help": "话题标签,逗号分隔,不含 # 号,最多10个"
52157
+ "help": "话题名称,逗号分隔,最多10个;先用 topics 查询。无法准确选中时停止提交"
52158
+ },
52159
+ {
52160
+ "name": "topic-ids",
52161
+ "type": "str",
52162
+ "required": false,
52163
+ "help": "topics 查询返回的 ID,逗号分隔,与 --topics 一一对应;防止同名话题选错"
51515
52164
  },
51516
52165
  {
51517
52166
  "name": "draft",
@@ -51519,6 +52168,134 @@
51519
52168
  "default": false,
51520
52169
  "required": false,
51521
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
+ ]
51522
52299
  }
51523
52300
  ],
51524
52301
  "columns": [
@@ -51604,6 +52381,49 @@
51604
52381
  "sourceFile": "xiaohongshu/search.js",
51605
52382
  "navigateBefore": false
51606
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
+ },
51607
52427
  {
51608
52428
  "site": "xiaohongshu",
51609
52429
  "name": "unfollow",