publishport-opencli 1.8.5-pp.7 → 1.8.5-pp.9

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 (45) hide show
  1. package/cli-manifest.json +1053 -1
  2. package/clis/_shared/article/images.js +95 -0
  3. package/clis/_shared/article/images.test.js +49 -0
  4. package/clis/_shared/article/page-runtime.js +121 -0
  5. package/clis/_shared/article/page-runtime.test.js +49 -0
  6. package/clis/_shared/article/publish.js +60 -5
  7. package/clis/_shared/article/publish.test.js +104 -0
  8. package/clis/baijiahao/stats.js +128 -0
  9. package/clis/bilibili/stats.js +157 -0
  10. package/clis/cnblogs/stats.js +158 -0
  11. package/clis/csdn/article.js +27 -7
  12. package/clis/csdn/stats.js +170 -0
  13. package/clis/jianshu/article.js +285 -0
  14. package/clis/jianshu/article.test.js +239 -0
  15. package/clis/jianshu/login.js +16 -0
  16. package/clis/jianshu/notebooks.js +36 -0
  17. package/clis/jianshu/whoami.js +35 -0
  18. package/clis/juejin/stats.js +146 -0
  19. package/clis/nowcoder/auth.js +3 -0
  20. package/clis/nowcoder/comment.js +50 -0
  21. package/clis/nowcoder/comments.js +34 -0
  22. package/clis/nowcoder/delete.js +26 -0
  23. package/clis/nowcoder/dm-list.js +35 -0
  24. package/clis/nowcoder/dm-read.js +31 -0
  25. package/clis/nowcoder/dm-send.js +31 -0
  26. package/clis/nowcoder/drafts.js +30 -0
  27. package/clis/nowcoder/inbox.js +35 -0
  28. package/clis/nowcoder/like.js +27 -0
  29. package/clis/nowcoder/my.js +28 -0
  30. package/clis/nowcoder/post.js +43 -0
  31. package/clis/nowcoder/utils.js +169 -0
  32. package/clis/oschina/stats.js +205 -0
  33. package/clis/reddit/whoami.js +7 -0
  34. package/clis/segmentfault/stats.js +180 -0
  35. package/clis/sohu/stats.js +240 -0
  36. package/clis/toutiao/article.js +261 -0
  37. package/clis/weibo/article.js +385 -0
  38. package/clis/weibo/article.test.js +353 -0
  39. package/clis/weixin/stats.js +177 -0
  40. package/clis/woshipm/stats.js +150 -0
  41. package/clis/zhihu/article.js +130 -13
  42. package/clis/zhihu/article.test.js +189 -0
  43. package/clis/zhihu/auth.js +15 -5
  44. package/clis/zhihu/stats.js +162 -0
  45. package/package.json +1 -1
package/cli-manifest.json CHANGED
@@ -3219,6 +3219,44 @@
3219
3219
  "sourceFile": "baijiahao/publish.js",
3220
3220
  "navigateBefore": false
3221
3221
  },
3222
+ {
3223
+ "site": "baijiahao",
3224
+ "name": "stats",
3225
+ "description": "百家号内容数据(每篇文章/视频的展现/阅读/点赞/评论/收藏/分享/收益等全量运营指标)",
3226
+ "access": "read",
3227
+ "domain": "baijiahao.baidu.com",
3228
+ "strategy": "cookie",
3229
+ "browser": true,
3230
+ "args": [
3231
+ {
3232
+ "name": "limit",
3233
+ "type": "number",
3234
+ "default": 20,
3235
+ "required": false,
3236
+ "help": "返回条数"
3237
+ }
3238
+ ],
3239
+ "columns": [
3240
+ "id",
3241
+ "type",
3242
+ "status",
3243
+ "title",
3244
+ "url",
3245
+ "published_at",
3246
+ "views",
3247
+ "shows",
3248
+ "likes",
3249
+ "comments",
3250
+ "collects",
3251
+ "shares",
3252
+ "profit",
3253
+ "extra"
3254
+ ],
3255
+ "type": "js",
3256
+ "modulePath": "baijiahao/stats.js",
3257
+ "sourceFile": "baijiahao/stats.js",
3258
+ "navigateBefore": "https://baijiahao.baidu.com"
3259
+ },
3222
3260
  {
3223
3261
  "site": "baijiahao",
3224
3262
  "name": "whoami",
@@ -4484,6 +4522,44 @@
4484
4522
  "sourceFile": "bilibili/search.js",
4485
4523
  "navigateBefore": "https://www.bilibili.com"
4486
4524
  },
4525
+ {
4526
+ "site": "bilibili",
4527
+ "name": "stats",
4528
+ "description": "B站稿件数据(每个视频/图文/专栏稿件的播放、点赞、投币、收藏、弹幕、分享、评论等全量运营指标)",
4529
+ "access": "read",
4530
+ "domain": "member.bilibili.com",
4531
+ "strategy": "cookie",
4532
+ "browser": true,
4533
+ "args": [
4534
+ {
4535
+ "name": "limit",
4536
+ "type": "int",
4537
+ "default": 20,
4538
+ "required": false,
4539
+ "help": "返回条数(视频与图文合并后按发布时间倒序截取)"
4540
+ }
4541
+ ],
4542
+ "columns": [
4543
+ "id",
4544
+ "type",
4545
+ "title",
4546
+ "url",
4547
+ "published_at",
4548
+ "views",
4549
+ "likes",
4550
+ "comments",
4551
+ "collects",
4552
+ "shares",
4553
+ "danmaku",
4554
+ "coins",
4555
+ "status",
4556
+ "extra"
4557
+ ],
4558
+ "type": "js",
4559
+ "modulePath": "bilibili/stats.js",
4560
+ "sourceFile": "bilibili/stats.js",
4561
+ "navigateBefore": "https://member.bilibili.com"
4562
+ },
4487
4563
  {
4488
4564
  "site": "bilibili",
4489
4565
  "name": "subtitle",
@@ -7877,6 +7953,42 @@
7877
7953
  "siteSession": "persistent",
7878
7954
  "defaultWindowMode": "foreground"
7879
7955
  },
7956
+ {
7957
+ "site": "cnblogs",
7958
+ "name": "stats",
7959
+ "description": "博客园文章数据(每篇阅读/评论/推荐等全量运营指标)",
7960
+ "access": "read",
7961
+ "domain": "i.cnblogs.com",
7962
+ "strategy": "cookie",
7963
+ "browser": true,
7964
+ "args": [
7965
+ {
7966
+ "name": "limit",
7967
+ "type": "number",
7968
+ "default": 20,
7969
+ "required": false,
7970
+ "help": "返回条数"
7971
+ }
7972
+ ],
7973
+ "columns": [
7974
+ "id",
7975
+ "type",
7976
+ "title",
7977
+ "url",
7978
+ "published_at",
7979
+ "views",
7980
+ "likes",
7981
+ "comments",
7982
+ "collects",
7983
+ "shares",
7984
+ "status",
7985
+ "extra"
7986
+ ],
7987
+ "type": "js",
7988
+ "modulePath": "cnblogs/stats.js",
7989
+ "sourceFile": "cnblogs/stats.js",
7990
+ "navigateBefore": "https://i.cnblogs.com"
7991
+ },
7880
7992
  {
7881
7993
  "site": "cnblogs",
7882
7994
  "name": "whoami",
@@ -9354,6 +9466,43 @@
9354
9466
  "siteSession": "persistent",
9355
9467
  "defaultWindowMode": "foreground"
9356
9468
  },
9469
+ {
9470
+ "site": "csdn",
9471
+ "name": "stats",
9472
+ "description": "CSDN 文章数据(每篇阅读/点赞/评论/收藏等全量运营指标)",
9473
+ "access": "read",
9474
+ "domain": "mp.csdn.net",
9475
+ "strategy": "cookie",
9476
+ "browser": true,
9477
+ "args": [
9478
+ {
9479
+ "name": "limit",
9480
+ "type": "number",
9481
+ "default": 20,
9482
+ "required": false,
9483
+ "help": "返回条数"
9484
+ }
9485
+ ],
9486
+ "columns": [
9487
+ "id",
9488
+ "type",
9489
+ "title",
9490
+ "url",
9491
+ "published_at",
9492
+ "views",
9493
+ "likes",
9494
+ "comments",
9495
+ "collects",
9496
+ "shares",
9497
+ "status",
9498
+ "badges",
9499
+ "edit_url"
9500
+ ],
9501
+ "type": "js",
9502
+ "modulePath": "csdn/stats.js",
9503
+ "sourceFile": "csdn/stats.js",
9504
+ "navigateBefore": "https://mp.csdn.net"
9505
+ },
9357
9506
  {
9358
9507
  "site": "csdn",
9359
9508
  "name": "whoami",
@@ -19381,6 +19530,135 @@
19381
19530
  "navigateBefore": false,
19382
19531
  "siteSession": "persistent"
19383
19532
  },
19533
+ {
19534
+ "site": "jianshu",
19535
+ "name": "article",
19536
+ "description": "发布简书文章。默认正式发布;加 --draft 仅存草稿。必须指定文集 --notebook(用 `jianshu notebooks` 查看)。正文为 Markdown;图片自动转存至简书图床(七牛)。",
19537
+ "access": "write",
19538
+ "domain": "jianshu.com",
19539
+ "strategy": "cookie",
19540
+ "browser": true,
19541
+ "args": [
19542
+ {
19543
+ "name": "title",
19544
+ "type": "str",
19545
+ "required": true,
19546
+ "positional": true,
19547
+ "help": "文章标题"
19548
+ },
19549
+ {
19550
+ "name": "text",
19551
+ "type": "str",
19552
+ "required": false,
19553
+ "positional": true,
19554
+ "help": "文章正文(Markdown)"
19555
+ },
19556
+ {
19557
+ "name": "file",
19558
+ "type": "str",
19559
+ "required": false,
19560
+ "help": "正文文件路径(UTF-8 编码,Markdown)"
19561
+ },
19562
+ {
19563
+ "name": "notebook",
19564
+ "type": "str",
19565
+ "required": true,
19566
+ "help": "【必填】文集名(精确匹配;也接受文集数字 ID)。可用 `jianshu notebooks` 查看全部文集。"
19567
+ },
19568
+ {
19569
+ "name": "draft",
19570
+ "type": "boolean",
19571
+ "required": false,
19572
+ "help": "仅保存草稿,不发布"
19573
+ },
19574
+ {
19575
+ "name": "execute",
19576
+ "type": "boolean",
19577
+ "required": false,
19578
+ "help": "确认执行写操作。不加此参数则拒绝写入。"
19579
+ }
19580
+ ],
19581
+ "columns": [
19582
+ "status",
19583
+ "outcome",
19584
+ "message",
19585
+ "target_type",
19586
+ "target",
19587
+ "created_target",
19588
+ "created_url"
19589
+ ],
19590
+ "type": "js",
19591
+ "modulePath": "jianshu/article.js",
19592
+ "sourceFile": "jianshu/article.js",
19593
+ "navigateBefore": "https://jianshu.com"
19594
+ },
19595
+ {
19596
+ "site": "jianshu",
19597
+ "name": "login",
19598
+ "description": "打开简书登录页并等待浏览器完成登录(供桌面客户端引导登录)。",
19599
+ "access": "write",
19600
+ "domain": "jianshu.com",
19601
+ "strategy": "cookie",
19602
+ "browser": true,
19603
+ "args": [
19604
+ {
19605
+ "name": "timeout",
19606
+ "type": "int",
19607
+ "default": 300,
19608
+ "required": false,
19609
+ "help": "等待用户完成登录的最长秒数"
19610
+ }
19611
+ ],
19612
+ "columns": [
19613
+ "status",
19614
+ "logged_in",
19615
+ "user_id",
19616
+ "username"
19617
+ ],
19618
+ "type": "js",
19619
+ "modulePath": "jianshu/login.js",
19620
+ "sourceFile": "jianshu/login.js",
19621
+ "navigateBefore": false,
19622
+ "siteSession": "persistent",
19623
+ "defaultWindowMode": "foreground"
19624
+ },
19625
+ {
19626
+ "site": "jianshu",
19627
+ "name": "notebooks",
19628
+ "description": "列出简书账号下的全部文集(id 与名称),供 `jianshu article --notebook` 取值。",
19629
+ "access": "read",
19630
+ "domain": "jianshu.com",
19631
+ "strategy": "cookie",
19632
+ "browser": true,
19633
+ "args": [],
19634
+ "columns": [
19635
+ "id",
19636
+ "name"
19637
+ ],
19638
+ "type": "js",
19639
+ "modulePath": "jianshu/notebooks.js",
19640
+ "sourceFile": "jianshu/notebooks.js",
19641
+ "navigateBefore": "https://jianshu.com"
19642
+ },
19643
+ {
19644
+ "site": "jianshu",
19645
+ "name": "whoami",
19646
+ "description": "检测简书当前登录状态,返回用户 ID 和昵称。",
19647
+ "access": "read",
19648
+ "domain": "jianshu.com",
19649
+ "strategy": "cookie",
19650
+ "browser": true,
19651
+ "args": [],
19652
+ "columns": [
19653
+ "logged_in",
19654
+ "user_id",
19655
+ "username"
19656
+ ],
19657
+ "type": "js",
19658
+ "modulePath": "jianshu/whoami.js",
19659
+ "sourceFile": "jianshu/whoami.js",
19660
+ "navigateBefore": "https://jianshu.com"
19661
+ },
19384
19662
  {
19385
19663
  "site": "jianyu",
19386
19664
  "name": "detail",
@@ -20423,6 +20701,47 @@
20423
20701
  "modulePath": "juejin/recommend.js",
20424
20702
  "sourceFile": "juejin/recommend.js"
20425
20703
  },
20704
+ {
20705
+ "site": "juejin",
20706
+ "name": "stats",
20707
+ "description": "掘金文章数据(每篇展现/阅读/点赞/评论/收藏/阅读比/热度等全量运营指标)",
20708
+ "access": "read",
20709
+ "domain": "juejin.cn",
20710
+ "strategy": "cookie",
20711
+ "browser": true,
20712
+ "args": [
20713
+ {
20714
+ "name": "limit",
20715
+ "type": "number",
20716
+ "default": 20,
20717
+ "required": false,
20718
+ "help": "返回条数"
20719
+ }
20720
+ ],
20721
+ "columns": [
20722
+ "id",
20723
+ "type",
20724
+ "title",
20725
+ "url",
20726
+ "published_at",
20727
+ "views",
20728
+ "likes",
20729
+ "comments",
20730
+ "collects",
20731
+ "shares",
20732
+ "displays",
20733
+ "read_ratio",
20734
+ "hot_index",
20735
+ "category",
20736
+ "tags",
20737
+ "read_time",
20738
+ "extra"
20739
+ ],
20740
+ "type": "js",
20741
+ "modulePath": "juejin/stats.js",
20742
+ "sourceFile": "juejin/stats.js",
20743
+ "navigateBefore": false
20744
+ },
20426
20745
  {
20427
20746
  "site": "juejin",
20428
20747
  "name": "tags",
@@ -25872,6 +26191,89 @@
25872
26191
  "sourceFile": "notebooklm/write-note.js",
25873
26192
  "navigateBefore": false
25874
26193
  },
26194
+ {
26195
+ "site": "nowcoder",
26196
+ "name": "comment",
26197
+ "description": "评论帖子;配 --to-user/--to-comment 可定向回复某条评论",
26198
+ "access": "write",
26199
+ "domain": "www.nowcoder.com",
26200
+ "strategy": "cookie",
26201
+ "browser": true,
26202
+ "args": [
26203
+ {
26204
+ "name": "id",
26205
+ "type": "str",
26206
+ "required": true,
26207
+ "positional": true,
26208
+ "help": "帖子 id(数字 momentId / UUID / 链接均可)"
26209
+ },
26210
+ {
26211
+ "name": "content",
26212
+ "type": "str",
26213
+ "required": true,
26214
+ "positional": true,
26215
+ "help": "评论内容"
26216
+ },
26217
+ {
26218
+ "name": "to-user",
26219
+ "type": "str",
26220
+ "default": "0",
26221
+ "required": false,
26222
+ "help": "帖主/对方 userId(定向回复时必传)"
26223
+ },
26224
+ {
26225
+ "name": "to-comment",
26226
+ "type": "str",
26227
+ "default": "0",
26228
+ "required": false,
26229
+ "help": "定向回复的评论 id(inbox 的 reply_comment_id)"
26230
+ }
26231
+ ],
26232
+ "columns": [
26233
+ "post_id",
26234
+ "kind",
26235
+ "status"
26236
+ ],
26237
+ "type": "js",
26238
+ "modulePath": "nowcoder/comment.js",
26239
+ "sourceFile": "nowcoder/comment.js",
26240
+ "navigateBefore": "https://www.nowcoder.com"
26241
+ },
26242
+ {
26243
+ "site": "nowcoder",
26244
+ "name": "comments",
26245
+ "description": "某帖的评论列表(评论前先读,避免重复/不合语境)",
26246
+ "access": "read",
26247
+ "domain": "www.nowcoder.com",
26248
+ "strategy": "cookie",
26249
+ "browser": true,
26250
+ "args": [
26251
+ {
26252
+ "name": "id",
26253
+ "type": "str",
26254
+ "required": true,
26255
+ "positional": true,
26256
+ "help": "帖子 id(数字 momentId / UUID / 链接均可)"
26257
+ },
26258
+ {
26259
+ "name": "page",
26260
+ "type": "int",
26261
+ "default": 1,
26262
+ "required": false,
26263
+ "help": "页码"
26264
+ }
26265
+ ],
26266
+ "columns": [
26267
+ "comment_id",
26268
+ "user_id",
26269
+ "nickname",
26270
+ "content"
26271
+ ],
26272
+ "type": "js",
26273
+ "modulePath": "nowcoder/comments.js",
26274
+ "sourceFile": "nowcoder/comments.js",
26275
+ "navigateBefore": "https://www.nowcoder.com"
26276
+ },
25875
26277
  {
25876
26278
  "site": "nowcoder",
25877
26279
  "name": "companies",
@@ -25927,6 +26329,32 @@
25927
26329
  "modulePath": "nowcoder/creators.js",
25928
26330
  "sourceFile": "nowcoder/creators.js"
25929
26331
  },
26332
+ {
26333
+ "site": "nowcoder",
26334
+ "name": "delete",
26335
+ "description": "删除自己发布的动态",
26336
+ "access": "write",
26337
+ "domain": "www.nowcoder.com",
26338
+ "strategy": "cookie",
26339
+ "browser": true,
26340
+ "args": [
26341
+ {
26342
+ "name": "id",
26343
+ "type": "str",
26344
+ "required": true,
26345
+ "positional": true,
26346
+ "help": "要删除的 momentId(my/post 返回的 moment_id)"
26347
+ }
26348
+ ],
26349
+ "columns": [
26350
+ "moment_id",
26351
+ "status"
26352
+ ],
26353
+ "type": "js",
26354
+ "modulePath": "nowcoder/delete.js",
26355
+ "sourceFile": "nowcoder/delete.js",
26356
+ "navigateBefore": "https://www.nowcoder.com"
26357
+ },
25930
26358
  {
25931
26359
  "site": "nowcoder",
25932
26360
  "name": "detail",
@@ -25960,6 +26388,130 @@
25960
26388
  "sourceFile": "nowcoder/detail.js",
25961
26389
  "navigateBefore": "https://www.nowcoder.com"
25962
26390
  },
26391
+ {
26392
+ "site": "nowcoder",
26393
+ "name": "dm-list",
26394
+ "description": "私信会话列表(conversationId / 最后一条消息 / 未读数)",
26395
+ "access": "read",
26396
+ "domain": "www.nowcoder.com",
26397
+ "strategy": "cookie",
26398
+ "browser": true,
26399
+ "args": [
26400
+ {
26401
+ "name": "page",
26402
+ "type": "int",
26403
+ "default": 1,
26404
+ "required": false,
26405
+ "help": "页码"
26406
+ }
26407
+ ],
26408
+ "columns": [
26409
+ "conversation_id",
26410
+ "target_user_id",
26411
+ "target_name",
26412
+ "last_content",
26413
+ "unread",
26414
+ "allow_send",
26415
+ "is_official"
26416
+ ],
26417
+ "type": "js",
26418
+ "modulePath": "nowcoder/dm-list.js",
26419
+ "sourceFile": "nowcoder/dm-list.js",
26420
+ "navigateBefore": "https://www.nowcoder.com"
26421
+ },
26422
+ {
26423
+ "site": "nowcoder",
26424
+ "name": "dm-read",
26425
+ "description": "读某私信会话的消息(target 为 dm-list 的 target_user_id)",
26426
+ "access": "read",
26427
+ "domain": "www.nowcoder.com",
26428
+ "strategy": "cookie",
26429
+ "browser": true,
26430
+ "args": [
26431
+ {
26432
+ "name": "target",
26433
+ "type": "str",
26434
+ "required": true,
26435
+ "positional": true,
26436
+ "help": "对方 userId(dm-list 的 target_user_id)"
26437
+ },
26438
+ {
26439
+ "name": "page",
26440
+ "type": "int",
26441
+ "default": 1,
26442
+ "required": false,
26443
+ "help": "页码"
26444
+ }
26445
+ ],
26446
+ "columns": [
26447
+ "from_user_id",
26448
+ "content"
26449
+ ],
26450
+ "type": "js",
26451
+ "modulePath": "nowcoder/dm-read.js",
26452
+ "sourceFile": "nowcoder/dm-read.js",
26453
+ "navigateBefore": "https://www.nowcoder.com"
26454
+ },
26455
+ {
26456
+ "site": "nowcoder",
26457
+ "name": "dm-send",
26458
+ "description": "发私信(conversation 为 dm-list 的 conversation_id)",
26459
+ "access": "write",
26460
+ "domain": "www.nowcoder.com",
26461
+ "strategy": "cookie",
26462
+ "browser": true,
26463
+ "args": [
26464
+ {
26465
+ "name": "conversation",
26466
+ "type": "str",
26467
+ "required": true,
26468
+ "positional": true,
26469
+ "help": "会话 id(dm-list 的 conversation_id,格式 <我uid>_<对方uid>)"
26470
+ },
26471
+ {
26472
+ "name": "content",
26473
+ "type": "str",
26474
+ "required": true,
26475
+ "positional": true,
26476
+ "help": "私信内容"
26477
+ }
26478
+ ],
26479
+ "columns": [
26480
+ "conversation_id",
26481
+ "status"
26482
+ ],
26483
+ "type": "js",
26484
+ "modulePath": "nowcoder/dm-send.js",
26485
+ "sourceFile": "nowcoder/dm-send.js",
26486
+ "navigateBefore": "https://www.nowcoder.com"
26487
+ },
26488
+ {
26489
+ "site": "nowcoder",
26490
+ "name": "drafts",
26491
+ "description": "我的草稿列表",
26492
+ "access": "read",
26493
+ "domain": "www.nowcoder.com",
26494
+ "strategy": "cookie",
26495
+ "browser": true,
26496
+ "args": [
26497
+ {
26498
+ "name": "page",
26499
+ "type": "int",
26500
+ "default": 1,
26501
+ "required": false,
26502
+ "help": "页码"
26503
+ }
26504
+ ],
26505
+ "columns": [
26506
+ "draft_id",
26507
+ "title",
26508
+ "content"
26509
+ ],
26510
+ "type": "js",
26511
+ "modulePath": "nowcoder/drafts.js",
26512
+ "sourceFile": "nowcoder/drafts.js",
26513
+ "navigateBefore": "https://www.nowcoder.com"
26514
+ },
25963
26515
  {
25964
26516
  "site": "nowcoder",
25965
26517
  "name": "experience",
@@ -26025,6 +26577,38 @@
26025
26577
  "modulePath": "nowcoder/hot.js",
26026
26578
  "sourceFile": "nowcoder/hot.js"
26027
26579
  },
26580
+ {
26581
+ "site": "nowcoder",
26582
+ "name": "inbox",
26583
+ "description": "评论回复收件箱(谁回复/@了我们,含定向回复所需的评论 id)",
26584
+ "access": "read",
26585
+ "domain": "www.nowcoder.com",
26586
+ "strategy": "cookie",
26587
+ "browser": true,
26588
+ "args": [
26589
+ {
26590
+ "name": "page",
26591
+ "type": "int",
26592
+ "default": 1,
26593
+ "required": false,
26594
+ "help": "页码"
26595
+ }
26596
+ ],
26597
+ "columns": [
26598
+ "msg_id",
26599
+ "from_user_id",
26600
+ "from_nickname",
26601
+ "reply_content",
26602
+ "reply_comment_id",
26603
+ "quoted_ours",
26604
+ "url",
26605
+ "time"
26606
+ ],
26607
+ "type": "js",
26608
+ "modulePath": "nowcoder/inbox.js",
26609
+ "sourceFile": "nowcoder/inbox.js",
26610
+ "navigateBefore": "https://www.nowcoder.com"
26611
+ },
26028
26612
  {
26029
26613
  "site": "nowcoder",
26030
26614
  "name": "jobs",
@@ -26043,6 +26627,33 @@
26043
26627
  "modulePath": "nowcoder/jobs.js",
26044
26628
  "sourceFile": "nowcoder/jobs.js"
26045
26629
  },
26630
+ {
26631
+ "site": "nowcoder",
26632
+ "name": "like",
26633
+ "description": "点赞帖子(toggle,再次调用取消;有频控,务必低频)",
26634
+ "access": "write",
26635
+ "domain": "www.nowcoder.com",
26636
+ "strategy": "cookie",
26637
+ "browser": true,
26638
+ "args": [
26639
+ {
26640
+ "name": "id",
26641
+ "type": "str",
26642
+ "required": true,
26643
+ "positional": true,
26644
+ "help": "帖子 id(数字 momentId / UUID / 链接均可)"
26645
+ }
26646
+ ],
26647
+ "columns": [
26648
+ "post_id",
26649
+ "status",
26650
+ "like_count"
26651
+ ],
26652
+ "type": "js",
26653
+ "modulePath": "nowcoder/like.js",
26654
+ "sourceFile": "nowcoder/like.js",
26655
+ "navigateBefore": "https://www.nowcoder.com"
26656
+ },
26046
26657
  {
26047
26658
  "site": "nowcoder",
26048
26659
  "name": "login",
@@ -26074,6 +26685,33 @@
26074
26685
  "siteSession": "persistent",
26075
26686
  "defaultWindowMode": "foreground"
26076
26687
  },
26688
+ {
26689
+ "site": "nowcoder",
26690
+ "name": "my",
26691
+ "description": "我发布的动态列表(含 momentId,可供 delete 使用)",
26692
+ "access": "read",
26693
+ "domain": "www.nowcoder.com",
26694
+ "strategy": "cookie",
26695
+ "browser": true,
26696
+ "args": [
26697
+ {
26698
+ "name": "page",
26699
+ "type": "int",
26700
+ "default": 1,
26701
+ "required": false,
26702
+ "help": "页码"
26703
+ }
26704
+ ],
26705
+ "columns": [
26706
+ "moment_id",
26707
+ "title",
26708
+ "content"
26709
+ ],
26710
+ "type": "js",
26711
+ "modulePath": "nowcoder/my.js",
26712
+ "sourceFile": "nowcoder/my.js",
26713
+ "navigateBefore": "https://www.nowcoder.com"
26714
+ },
26077
26715
  {
26078
26716
  "site": "nowcoder",
26079
26717
  "name": "notifications",
@@ -26134,6 +26772,40 @@
26134
26772
  "sourceFile": "nowcoder/papers.js",
26135
26773
  "navigateBefore": "https://www.nowcoder.com"
26136
26774
  },
26775
+ {
26776
+ "site": "nowcoder",
26777
+ "name": "post",
26778
+ "description": "发布动态(实名发帖,高风险写操作,务必低频且内容有价值)",
26779
+ "access": "write",
26780
+ "domain": "www.nowcoder.com",
26781
+ "strategy": "cookie",
26782
+ "browser": true,
26783
+ "args": [
26784
+ {
26785
+ "name": "content",
26786
+ "type": "str",
26787
+ "required": true,
26788
+ "positional": true,
26789
+ "help": "正文内容"
26790
+ },
26791
+ {
26792
+ "name": "title",
26793
+ "type": "str",
26794
+ "default": "",
26795
+ "required": false,
26796
+ "help": "标题(可选)"
26797
+ }
26798
+ ],
26799
+ "columns": [
26800
+ "moment_id",
26801
+ "content_id",
26802
+ "url"
26803
+ ],
26804
+ "type": "js",
26805
+ "modulePath": "nowcoder/post.js",
26806
+ "sourceFile": "nowcoder/post.js",
26807
+ "navigateBefore": "https://www.nowcoder.com"
26808
+ },
26137
26809
  {
26138
26810
  "site": "nowcoder",
26139
26811
  "name": "practice",
@@ -27516,6 +28188,52 @@
27516
28188
  "siteSession": "persistent",
27517
28189
  "defaultWindowMode": "foreground"
27518
28190
  },
28191
+ {
28192
+ "site": "oschina",
28193
+ "name": "stats",
28194
+ "description": "开源中国博客数据(每篇阅读/点赞/评论等全量运营指标)",
28195
+ "access": "read",
28196
+ "domain": "my.oschina.net",
28197
+ "strategy": "cookie",
28198
+ "browser": true,
28199
+ "args": [
28200
+ {
28201
+ "name": "limit",
28202
+ "type": "number",
28203
+ "default": 20,
28204
+ "required": false,
28205
+ "help": "返回条数"
28206
+ },
28207
+ {
28208
+ "name": "user",
28209
+ "type": "str",
28210
+ "required": false,
28211
+ "help": "查看指定用户 ID 的公开博客数据(默认当前登录账号,含私密与定时博客)"
28212
+ }
28213
+ ],
28214
+ "columns": [
28215
+ "id",
28216
+ "type",
28217
+ "title",
28218
+ "url",
28219
+ "published_at",
28220
+ "views",
28221
+ "likes",
28222
+ "comments",
28223
+ "collects",
28224
+ "shares",
28225
+ "origin",
28226
+ "is_private",
28227
+ "recommended",
28228
+ "top",
28229
+ "status",
28230
+ "extra"
28231
+ ],
28232
+ "type": "js",
28233
+ "modulePath": "oschina/stats.js",
28234
+ "sourceFile": "oschina/stats.js",
28235
+ "navigateBefore": "https://my.oschina.net"
28236
+ },
27519
28237
  {
27520
28238
  "site": "oschina",
27521
28239
  "name": "whoami",
@@ -31996,6 +32714,51 @@
31996
32714
  "siteSession": "persistent",
31997
32715
  "defaultWindowMode": "foreground"
31998
32716
  },
32717
+ {
32718
+ "site": "segmentfault",
32719
+ "name": "stats",
32720
+ "description": "思否文章数据(每篇阅读/独立访客/得票/评论/收藏/预计阅读时长等全量运营指标)",
32721
+ "access": "read",
32722
+ "domain": "segmentfault.com",
32723
+ "strategy": "cookie",
32724
+ "browser": true,
32725
+ "args": [
32726
+ {
32727
+ "name": "limit",
32728
+ "type": "number",
32729
+ "default": 20,
32730
+ "required": false,
32731
+ "help": "返回条数"
32732
+ },
32733
+ {
32734
+ "name": "user",
32735
+ "type": "str",
32736
+ "required": false,
32737
+ "help": "指定思否用户名(/u/<name> 里的 name),默认当前登录账号"
32738
+ }
32739
+ ],
32740
+ "columns": [
32741
+ "id",
32742
+ "type",
32743
+ "title",
32744
+ "url",
32745
+ "published_at",
32746
+ "views",
32747
+ "likes",
32748
+ "comments",
32749
+ "collects",
32750
+ "shares",
32751
+ "unique_views",
32752
+ "read_time",
32753
+ "status",
32754
+ "tags",
32755
+ "extra"
32756
+ ],
32757
+ "type": "js",
32758
+ "modulePath": "segmentfault/stats.js",
32759
+ "sourceFile": "segmentfault/stats.js",
32760
+ "navigateBefore": false
32761
+ },
31999
32762
  {
32000
32763
  "site": "segmentfault",
32001
32764
  "name": "tags",
@@ -34363,6 +35126,44 @@
34363
35126
  "siteSession": "persistent",
34364
35127
  "defaultWindowMode": "foreground"
34365
35128
  },
35129
+ {
35130
+ "site": "sohu",
35131
+ "name": "stats",
35132
+ "description": "搜狐号文章数据(每篇阅读/评论/播放等全量运营指标;点赞/分享/投票仅覆盖最近30天已发布内容)",
35133
+ "access": "read",
35134
+ "domain": "mp.sohu.com",
35135
+ "strategy": "cookie",
35136
+ "browser": true,
35137
+ "args": [
35138
+ {
35139
+ "name": "limit",
35140
+ "type": "number",
35141
+ "default": 20,
35142
+ "required": false,
35143
+ "help": "返回条数"
35144
+ }
35145
+ ],
35146
+ "columns": [
35147
+ "id",
35148
+ "type",
35149
+ "title",
35150
+ "url",
35151
+ "published_at",
35152
+ "status",
35153
+ "views",
35154
+ "likes",
35155
+ "comments",
35156
+ "collects",
35157
+ "shares",
35158
+ "video_plays",
35159
+ "votes",
35160
+ "extra"
35161
+ ],
35162
+ "type": "js",
35163
+ "modulePath": "sohu/stats.js",
35164
+ "sourceFile": "sohu/stats.js",
35165
+ "navigateBefore": "https://mp.sohu.com"
35166
+ },
34366
35167
  {
34367
35168
  "site": "sohu",
34368
35169
  "name": "topics",
@@ -36704,6 +37505,68 @@
36704
37505
  "navigateBefore": false,
36705
37506
  "siteSession": "persistent"
36706
37507
  },
37508
+ {
37509
+ "site": "toutiao",
37510
+ "name": "article",
37511
+ "description": "正式发布头条号图文文章(会立即公开,头条无可靠的存草稿接口,故不支持草稿)。正文默认 Markdown,图片自动转存到头条图床。标题需 2~30 字;封面可选(--cover,不传则头条自动从正文图选封面)。",
37512
+ "access": "write",
37513
+ "domain": "mp.toutiao.com",
37514
+ "strategy": "cookie",
37515
+ "browser": true,
37516
+ "args": [
37517
+ {
37518
+ "name": "title",
37519
+ "type": "str",
37520
+ "required": true,
37521
+ "positional": true,
37522
+ "help": "文章标题(2~30 字)"
37523
+ },
37524
+ {
37525
+ "name": "text",
37526
+ "type": "str",
37527
+ "required": false,
37528
+ "positional": true,
37529
+ "help": "文章正文(默认 Markdown;传 --html 则视为原始 HTML)"
37530
+ },
37531
+ {
37532
+ "name": "file",
37533
+ "type": "str",
37534
+ "required": false,
37535
+ "help": "正文文件路径(UTF-8,默认 Markdown)"
37536
+ },
37537
+ {
37538
+ "name": "html",
37539
+ "type": "boolean",
37540
+ "required": false,
37541
+ "help": "将正文视为原始 HTML 而非 Markdown"
37542
+ },
37543
+ {
37544
+ "name": "cover",
37545
+ "type": "str",
37546
+ "required": false,
37547
+ "help": "封面图 URL 或本机路径(可选;会先转存到头条图床)"
37548
+ },
37549
+ {
37550
+ "name": "execute",
37551
+ "type": "boolean",
37552
+ "required": false,
37553
+ "help": "真正执行写操作。不加此参数时命令拒绝写入。"
37554
+ }
37555
+ ],
37556
+ "columns": [
37557
+ "status",
37558
+ "outcome",
37559
+ "message",
37560
+ "target_type",
37561
+ "target",
37562
+ "created_target",
37563
+ "created_url"
37564
+ ],
37565
+ "type": "js",
37566
+ "modulePath": "toutiao/article.js",
37567
+ "sourceFile": "toutiao/article.js",
37568
+ "navigateBefore": "https://mp.toutiao.com"
37569
+ },
36707
37570
  {
36708
37571
  "site": "toutiao",
36709
37572
  "name": "articles",
@@ -41092,6 +41955,74 @@
41092
41955
  "navigateBefore": false,
41093
41956
  "siteSession": "persistent"
41094
41957
  },
41958
+ {
41959
+ "site": "weibo",
41960
+ "name": "article",
41961
+ "description": "把长文以微博头条文章形式保存到草稿箱(card.weibo.com)。正文默认 Markdown,外链/本机图片自动转存到微博图床,支持 --cover 题图。注意:平台接口只到草稿态,正式发布需在微博头条文章编辑器里手动操作。",
41962
+ "access": "write",
41963
+ "domain": "weibo.com",
41964
+ "strategy": "cookie",
41965
+ "browser": true,
41966
+ "args": [
41967
+ {
41968
+ "name": "title",
41969
+ "type": "str",
41970
+ "required": true,
41971
+ "positional": true,
41972
+ "help": "文章标题"
41973
+ },
41974
+ {
41975
+ "name": "text",
41976
+ "type": "str",
41977
+ "required": false,
41978
+ "positional": true,
41979
+ "help": "文章正文(默认 Markdown;加 --html 则当 HTML 处理)"
41980
+ },
41981
+ {
41982
+ "name": "file",
41983
+ "type": "str",
41984
+ "required": false,
41985
+ "help": "正文文件路径(UTF-8,默认 Markdown)"
41986
+ },
41987
+ {
41988
+ "name": "html",
41989
+ "type": "boolean",
41990
+ "required": false,
41991
+ "help": "把正文当 HTML 处理而不是 Markdown"
41992
+ },
41993
+ {
41994
+ "name": "cover",
41995
+ "type": "str",
41996
+ "required": false,
41997
+ "help": "题图(本机图片路径或图片 URL,自动转存到微博图床)"
41998
+ },
41999
+ {
42000
+ "name": "draft",
42001
+ "type": "boolean",
42002
+ "required": false,
42003
+ "help": "仅保存草稿(微博头条文章目前只支持草稿,此参数保留兼容性)"
42004
+ },
42005
+ {
42006
+ "name": "execute",
42007
+ "type": "boolean",
42008
+ "required": false,
42009
+ "help": "实际执行写入。不加此参数时命令拒绝写入。"
42010
+ }
42011
+ ],
42012
+ "columns": [
42013
+ "status",
42014
+ "outcome",
42015
+ "message",
42016
+ "target_type",
42017
+ "target",
42018
+ "created_target",
42019
+ "created_url"
42020
+ ],
42021
+ "type": "js",
42022
+ "modulePath": "weibo/article.js",
42023
+ "sourceFile": "weibo/article.js",
42024
+ "navigateBefore": "https://weibo.com"
42025
+ },
41095
42026
  {
41096
42027
  "site": "weibo",
41097
42028
  "name": "comments",
@@ -41798,6 +42729,43 @@
41798
42729
  "modulePath": "weixin/search.js",
41799
42730
  "sourceFile": "weixin/search.js"
41800
42731
  },
42732
+ {
42733
+ "site": "weixin",
42734
+ "name": "stats",
42735
+ "description": "微信公众号内容数据(每篇阅读/赞/在看/分享/留言/转载等全量运营指标)",
42736
+ "access": "read",
42737
+ "domain": "mp.weixin.qq.com",
42738
+ "strategy": "cookie",
42739
+ "browser": true,
42740
+ "args": [
42741
+ {
42742
+ "name": "limit",
42743
+ "type": "int",
42744
+ "default": 20,
42745
+ "required": false,
42746
+ "help": "返回条数"
42747
+ }
42748
+ ],
42749
+ "columns": [
42750
+ "id",
42751
+ "type",
42752
+ "title",
42753
+ "url",
42754
+ "published_at",
42755
+ "views",
42756
+ "likes",
42757
+ "looking",
42758
+ "comments",
42759
+ "collects",
42760
+ "shares",
42761
+ "reprints",
42762
+ "extra"
42763
+ ],
42764
+ "type": "js",
42765
+ "modulePath": "weixin/stats.js",
42766
+ "sourceFile": "weixin/stats.js",
42767
+ "navigateBefore": false
42768
+ },
41801
42769
  {
41802
42770
  "site": "weixin",
41803
42771
  "name": "whoami",
@@ -43018,6 +43986,42 @@
43018
43986
  "siteSession": "persistent",
43019
43987
  "defaultWindowMode": "foreground"
43020
43988
  },
43989
+ {
43990
+ "site": "woshipm",
43991
+ "name": "stats",
43992
+ "description": "人人都是产品经理文章数据(每篇阅读/收藏/喜欢等全量运营指标,含草稿/审核中/定时发布)",
43993
+ "access": "read",
43994
+ "domain": "www.woshipm.com",
43995
+ "strategy": "cookie",
43996
+ "browser": true,
43997
+ "args": [
43998
+ {
43999
+ "name": "limit",
44000
+ "type": "number",
44001
+ "default": 20,
44002
+ "required": false,
44003
+ "help": "返回条数"
44004
+ }
44005
+ ],
44006
+ "columns": [
44007
+ "id",
44008
+ "type",
44009
+ "title",
44010
+ "url",
44011
+ "published_at",
44012
+ "status",
44013
+ "views",
44014
+ "likes",
44015
+ "comments",
44016
+ "collects",
44017
+ "shares",
44018
+ "extra"
44019
+ ],
44020
+ "type": "js",
44021
+ "modulePath": "woshipm/stats.js",
44022
+ "sourceFile": "woshipm/stats.js",
44023
+ "navigateBefore": "https://www.woshipm.com"
44024
+ },
43021
44025
  {
43022
44026
  "site": "woshipm",
43023
44027
  "name": "whoami",
@@ -47188,7 +48192,7 @@
47188
48192
  {
47189
48193
  "site": "zhihu",
47190
48194
  "name": "article",
47191
- "description": "Publish a Zhihu article (文章/专栏). Body is Markdown by default; images are auto-rehosted to Zhihu.",
48195
+ "description": "Publish a Zhihu article (文章/专栏). Body is Markdown by default; images (incl. local paths) and --cover are auto-rehosted to Zhihu.",
47192
48196
  "access": "write",
47193
48197
  "domain": "zhuanlan.zhihu.com",
47194
48198
  "strategy": "cookie",
@@ -47220,6 +48224,12 @@
47220
48224
  "required": false,
47221
48225
  "help": "Treat body as raw HTML instead of Markdown"
47222
48226
  },
48227
+ {
48228
+ "name": "cover",
48229
+ "type": "str",
48230
+ "required": false,
48231
+ "help": "Cover image (题图): local file path or image URL; auto-rehosted to Zhihu (zhimg.com)"
48232
+ },
47223
48233
  {
47224
48234
  "name": "draft",
47225
48235
  "type": "boolean",
@@ -47877,6 +48887,48 @@
47877
48887
  "sourceFile": "zhihu/search.js",
47878
48888
  "navigateBefore": "https://www.zhihu.com"
47879
48889
  },
48890
+ {
48891
+ "site": "zhihu",
48892
+ "name": "stats",
48893
+ "description": "知乎内容数据(每篇阅读/赞同/收藏/评论等全量运营指标)",
48894
+ "access": "read",
48895
+ "domain": "www.zhihu.com",
48896
+ "strategy": "cookie",
48897
+ "browser": true,
48898
+ "args": [
48899
+ {
48900
+ "name": "limit",
48901
+ "type": "number",
48902
+ "default": 20,
48903
+ "required": false,
48904
+ "help": "返回条数"
48905
+ }
48906
+ ],
48907
+ "columns": [
48908
+ "id",
48909
+ "type",
48910
+ "title",
48911
+ "url",
48912
+ "published_at",
48913
+ "views",
48914
+ "likes",
48915
+ "comments",
48916
+ "collects",
48917
+ "shares",
48918
+ "shows",
48919
+ "favors",
48920
+ "reposts",
48921
+ "new_followers",
48922
+ "finish_read_rate",
48923
+ "interact_rate",
48924
+ "mark",
48925
+ "extra"
48926
+ ],
48927
+ "type": "js",
48928
+ "modulePath": "zhihu/stats.js",
48929
+ "sourceFile": "zhihu/stats.js",
48930
+ "navigateBefore": false
48931
+ },
47880
48932
  {
47881
48933
  "site": "zhihu",
47882
48934
  "name": "user",