dsh-plugin-chuhai 0.3.6 → 0.3.7
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/CHANGELOG.md +5 -0
- package/books/ai-global-media/expert/SOURCE.json +9 -9
- package/books/ai-global-media/expert/agents/ilang-wechat-awesome.md +1 -1
- package/books/ai-global-media/expert/skills/remote-dispatch/SKILL.md +2 -2
- package/books/ai-global-media/expert/skills/wechat-article/SKILL.md +2 -2
- package/books/ai-global-media/expert/skills/wechat-draft-push/SKILL.md +2 -2
- package/books/ai-global-media/expert/skills/wechat-topic-hunter/SKILL.md +3 -3
- package/books/ai-global-media/expert/skills/wechat-topic-hunter/references/apify-wechat.md +2 -2
- package/books/ai-global-media/expert/skills/wechat-topic-hunter/scripts/apify_wechat.py +7 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# 更新记录(每次发包同时打 tag 出 GitHub Release)
|
|
2
2
|
|
|
3
|
+
## 0.3.7(2026-11-26)
|
|
4
|
+
|
|
5
|
+
- 随带的写作专家包跟到 adsorgcn/WorkBuddy 2.3.68(da76cfb):Apify 这条路每个子命令在付费账户上各真跑一遍后的四处小修(找号不漏服务号、提示行不算账号、标题截断带省略号、单价档位说明),头条判定按实测写死。来源提交与 30 个文件的哈希记在 SOURCE.json。
|
|
6
|
+
- 代码、随带的书、进度行都不变。
|
|
7
|
+
|
|
3
8
|
## 0.3.6(2026-11-26)
|
|
4
9
|
|
|
5
10
|
- 随带的写作专家包换成 adsorgcn/WorkBuddy 2.3.67(9dc5cd9):选题技能多一条 Apify 数据路,`apify_wechat.py` 用用户自己的 Apify 令牌调公众号采集器,拉低粉爆文日榜、微信指数、留言、联想词、按词找号、一个号的历史发文带倍率;跑之前报价,默认封顶 1 美元,令牌不进输出。来源提交与 30 个文件的哈希记在 SOURCE.json。
|
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
"upstream": {
|
|
4
4
|
"repo": "https://github.com/adsorgcn/WorkBuddy",
|
|
5
5
|
"path": "experts/ilang-wechat-awesome",
|
|
6
|
-
"commit": "
|
|
7
|
-
"version": "2.3.
|
|
6
|
+
"commit": "da76cfb3ecf47dedf8eb5b43081e4f249ab9e869",
|
|
7
|
+
"version": "2.3.68"
|
|
8
8
|
},
|
|
9
9
|
"copied_on": "2026-11-26",
|
|
10
10
|
"hash": "sha256,CRLF 换成 LF 后算",
|
|
11
11
|
"files": {
|
|
12
|
-
"agents/ilang-wechat-awesome.md": "
|
|
13
|
-
"skills/remote-dispatch/SKILL.md": "
|
|
12
|
+
"agents/ilang-wechat-awesome.md": "034816f7387fe554a6614d9092937ba8f41801dc40bcb82061221e890d79f1fe",
|
|
13
|
+
"skills/remote-dispatch/SKILL.md": "b32c9145f299aaee9159428405f1aabffbcc59db53ccd92f1e4505aa0f0060f1",
|
|
14
14
|
"skills/remote-dispatch/references/gateway-api.md": "8cfeb51cc1893d1fe5f3e5ab25604b7d8d16c59e4a80df70fca40e1382eced51",
|
|
15
15
|
"skills/remote-dispatch/scripts/dispatch.py": "d7db7856ae1b4a9af59f48dc8002276a5c8298fff91e7b5f4b4d876cadf8416c",
|
|
16
16
|
"skills/remote-dispatch/scripts/setup-gateway.ps1": "2eb5a82f6f048e08207c21fa0f04b777a488891dbb99e1b52bcd4ea5dfca3f7f",
|
|
17
17
|
"skills/remote-dispatch/scripts/setup-gateway.sh": "fb518332fa745d87c33f4ab06571c8b018203c3f51c0a1dd2da23cd07c9e095b",
|
|
18
|
-
"skills/wechat-article/SKILL.md": "
|
|
18
|
+
"skills/wechat-article/SKILL.md": "01ebe079f283fc6965996e7a5a8c05b1a170081ba2457991fc43c50bbf9b4868",
|
|
19
19
|
"skills/wechat-article/references/algorithm-and-rhythm.md": "2b726c4827b7b426fbf0a5bb179bf5e302feb6693375018ca9abffd1108f3892",
|
|
20
20
|
"skills/wechat-article/references/compliance.md": "9fb27dd2fa583afbe767da7893813ce078ec88822abec90d6f8cc2f70b0a7528",
|
|
21
21
|
"skills/wechat-article/references/cover-prompt.md": "e2e4693569adca5c6bf4ec0b9142df4871c257094cd6b4f2282e8c55d3e19cd9",
|
|
@@ -25,17 +25,17 @@
|
|
|
25
25
|
"skills/wechat-article/references/self-check.md": "03aebcfc06221f2dee6af46ebb0269456207448905376938bda5a359934cd070",
|
|
26
26
|
"skills/wechat-article/references/structures-and-titles.md": "a1e7dc839c07baf30068bd50c14671dd6598813c6f14be010601110e1596d92c",
|
|
27
27
|
"skills/wechat-article/references/wechat-format-and-api.md": "747a530b06a817fb891c9fdbd8df4c3d2ec4451185c07de8f3b8702d40a9ebd0",
|
|
28
|
-
"skills/wechat-draft-push/SKILL.md": "
|
|
28
|
+
"skills/wechat-draft-push/SKILL.md": "28db0b5902ee64595069921127280ea2ea18e38dbbc224c6bd02acd53061ea71",
|
|
29
29
|
"skills/wechat-draft-push/references/api-notes.md": "b02e2956cdd326275d714a94c9900b1cae68a4ed04fb37d26cc74ae64779ed97",
|
|
30
30
|
"skills/wechat-draft-push/references/html-rules.md": "c66a68e670fcaa846a228c37694e7d92336c921438fa1adcc0821ebf58b74c15",
|
|
31
31
|
"skills/wechat-draft-push/scripts/cards.html": "e9cd3d54bcb14fade2a1eba27d1c1cd0c3bf7761141c8c7e7a78ae8805d0f689",
|
|
32
32
|
"skills/wechat-draft-push/scripts/newspic_cards.py": "b60c30338dbac99583d45acf9c72600f277813ca5ce15cfee060f67bcda63a65",
|
|
33
33
|
"skills/wechat-draft-push/scripts/wechat_draft.py": "f78abbff079b8bf7dd09226655d39c19b937873642241c9edbb6074c24c71a80",
|
|
34
|
-
"skills/wechat-topic-hunter/SKILL.md": "
|
|
35
|
-
"skills/wechat-topic-hunter/references/apify-wechat.md": "
|
|
34
|
+
"skills/wechat-topic-hunter/SKILL.md": "60b20d3c6cce246e06e0c182d36fb3614db344c196fc5f2be402b6a93446b299",
|
|
35
|
+
"skills/wechat-topic-hunter/references/apify-wechat.md": "438e97d41f965c8a24c0a16581c25d8a18f2a6736e08d9e98cda68d143c8c495",
|
|
36
36
|
"skills/wechat-topic-hunter/references/method.md": "ebe4774f5c97defbeaf6d047552c970d49261b348f8fc4a2f68914db39f2c81e",
|
|
37
37
|
"skills/wechat-topic-hunter/references/wxrank-api.md": "f2746f61497513373e3993da7e21864012ec73b2e28bbcca4940cc262928c9f8",
|
|
38
|
-
"skills/wechat-topic-hunter/scripts/apify_wechat.py": "
|
|
38
|
+
"skills/wechat-topic-hunter/scripts/apify_wechat.py": "bdb630abeee2ef6c199bddbda9d4559f3c3ccac5d2f19484189f6ec2220635be",
|
|
39
39
|
"skills/wechat-topic-hunter/scripts/hot_sources.py": "f3c247ca2cb61f14d1df09216e61c214a2f6d0f8e8d5a6121277fae3eab47501",
|
|
40
40
|
"skills/wechat-topic-hunter/scripts/sources.json": "9e639016d49f3fcb6206c1d100c3864c2b852c7ef4765ad6e5fc2709123ddc6f",
|
|
41
41
|
"skills/wechat-topic-hunter/scripts/wxrank_topics.py": "2efed48d1bee2baf521d9535cbb092553192c47622248b093a1cbbe3ee782a48"
|
|
@@ -13,7 +13,7 @@ skills: [wechat-article, wechat-draft-push, wechat-topic-hunter, remote-dispatch
|
|
|
13
13
|
---
|
|
14
14
|
|
|
15
15
|
::ILANG::v5.0
|
|
16
|
-
[TYPE:expert][PROJECT:wechat_awesome][VERSION:2.3.
|
|
16
|
+
[TYPE:expert][PROJECT:wechat_awesome][VERSION:2.3.68][DATE:2026-10-09][LANG:zh]
|
|
17
17
|
::STATE{@ROLE, function:把用户投喂的素材按公众号爆文写作基因重组成可直接排版发布的稿子,定稿后一句话推进草稿箱}
|
|
18
18
|
::STATE{@SCOPE, now:看榜选题对标+公众号文章+标题+封面提示词+12项自查+去AI味+微信排版+推草稿箱+拆成贴图稿出卡片图推图片消息, next:一稿多发到X_小红书_YouTube脚本}
|
|
19
19
|
::STATE{@PROMISE, can:结构重组+真实数据优先+合规红线+自查全绿才交稿, cannot:无素材硬写|编数字|编经历|硬塞口语|引导点赞转发|放文内链接}
|
|
@@ -6,12 +6,12 @@ description: "Dispatch a command block to a remote CodeBuddy Code gateway (the h
|
|
|
6
6
|
description_zh: "把带 [RUN:VPS] 的命令块派给远程机上的 CodeBuddy 网关跑,收回结果和回执。本机当总控,远程机干活。口令只在本机配置文件里。"
|
|
7
7
|
description_en: "Send [RUN:VPS] command blocks to a remote CodeBuddy Code gateway and collect the result. The local WorkBuddy stays in control; the remote machine does the work."
|
|
8
8
|
category: productivity
|
|
9
|
-
version: 2.3.
|
|
9
|
+
version: 2.3.68
|
|
10
10
|
author: iLang Inc.
|
|
11
11
|
---
|
|
12
12
|
|
|
13
13
|
::ILANG::v5.0
|
|
14
|
-
[TYPE:skill][PROJECT:wechat_awesome][VERSION:2.3.
|
|
14
|
+
[TYPE:skill][PROJECT:wechat_awesome][VERSION:2.3.68][DATE:2026-10-09][LANG:zh]
|
|
15
15
|
::STATE{@ROLE, function:本机当总控 把 [RUN:VPS] 的命令块派给远程机的 CodeBuddy 网关 收结果 存记录}
|
|
16
16
|
::STATE{@SCOPE, now:派活+收结果+看远程会话+取消, next:多台远程机按标签路由}
|
|
17
17
|
::STATE{@PROMISE, can:原样转发命令块+只填用户指明的[FILL]行+把远程结果原样带回+每次留记录, cannot:替用户审批远程机的工具权限|把口令写进对话|改命令块其他内容}
|
|
@@ -6,12 +6,12 @@ description: "WeChat official account (公众号) article writing. Use when the
|
|
|
6
6
|
description_zh: "投喂素材,按爆文写作基因重组成公众号文章:3 个标题、MD 正文、封面图提示词、12 项自查、内置去 AI 味、合规红线。不接无素材请求。"
|
|
7
7
|
description_en: "Turn your own source material into a WeChat article with field-tested structure, a 12-point self-check, built-in de-AI editing and compliance rules. No material, no article. Built on the iLang protocol (ilang.ai)."
|
|
8
8
|
category: writing
|
|
9
|
-
version: 2.3.
|
|
9
|
+
version: 2.3.68
|
|
10
10
|
author: iLang Inc.
|
|
11
11
|
---
|
|
12
12
|
|
|
13
13
|
::ILANG::v5.0
|
|
14
|
-
[TYPE:skill][PROJECT:wechat_awesome][VERSION:2.3.
|
|
14
|
+
[TYPE:skill][PROJECT:wechat_awesome][VERSION:2.3.68][DATE:2026-10-08][LANG:zh]
|
|
15
15
|
::STATE{@ROLE, function:把用户投喂的素材按公众号爆文写作基因重组成可直接排版发布的稿子}
|
|
16
16
|
::STATE{@SCOPE, now:公众号文章+标题+封面提示词+12项自查+去AI味+微信排版, next:一稿多发到X_小红书_YouTube脚本}
|
|
17
17
|
::STATE{@PROMISE, can:结构重组+真实数据优先+合规红线+自查全绿才交稿, cannot:无素材硬写|编数字|编经历|硬塞口语|引导点赞转发|放文内链接}
|
|
@@ -6,12 +6,12 @@ description: "Push a finished Markdown article into a WeChat official account (
|
|
|
6
6
|
description_zh: "把定稿 Markdown 转成微信 HTML,传图传封面,推进公众号草稿箱并回读核对;也能把带【第N页】标记的稿子出成一组卡片图,推成图片消息(贴图)。个人主体账号也能推草稿箱。有 publish 命令,但只在人在后台看过草稿、说了「发」之后才跑,且只有微信认证企业号能用;没有删草稿命令。"
|
|
7
7
|
description_en: "Convert Markdown to WeChat HTML, upload images, push into the WeChat official account draft box via the official API and verify it; or render a card deck and push it as an image message (newspic). Publishes only after a human has reviewed the draft and said so, and only for verified enterprise accounts. Never deletes drafts."
|
|
8
8
|
category: writing
|
|
9
|
-
version: 2.3.
|
|
9
|
+
version: 2.3.68
|
|
10
10
|
author: iLang Inc.
|
|
11
11
|
---
|
|
12
12
|
|
|
13
13
|
::ILANG::v5.0
|
|
14
|
-
[TYPE:skill][PROJECT:wechat_awesome][VERSION:2.3.
|
|
14
|
+
[TYPE:skill][PROJECT:wechat_awesome][VERSION:2.3.68][DATE:2026-10-09][LANG:zh]
|
|
15
15
|
::STATE{@ROLE, function:把定稿Markdown转成微信HTML并推进公众号草稿箱,回读核对后报media_id;人在后台看过草稿说「发」之后,认证号由publish提交发布并报结果}
|
|
16
16
|
::STATE{@SCOPE, now:转HTML+传图+传封面+推草稿箱+回读+贴图出卡并推成图片消息+人说发后发布(只对微信认证企业号), next:一稿多发时同一脚本换目标平台}
|
|
17
17
|
::STATE{@PROMISE, can:默认只到草稿箱+凭据只在本机+推前校验+回读核对+贴图先出图人看过再推+人说发才发布+发布前回读标题跟人确认, cannot:没人说发就发布|删草稿|改草稿|删除已发布|把AppSecret写进对话|跳过人工审稿|没收到回复就重推}
|
|
@@ -6,12 +6,12 @@ description: "Find WeChat official account (公众号) topics with real demand a
|
|
|
6
6
|
description_zh: "先读仓库每天自动更新的内容清单(免费),再用你自己的 wxrank key 看公众号上这些题读了多少、爆没爆;还能比方向、排一个月的内容清单、找对标号、查单篇数据。有 Apify 令牌的还能拉低粉爆文日榜、微信指数和留言。花钱前先报价。"
|
|
7
7
|
description_en: "Topic discovery for WeChat official accounts: a free daily cross-platform hot list from this repository on the demand side, and real read and share numbers from wxrank on the user's own key on the supply side. Direction comparison, content calendar, benchmarking. With an Apify token it also pulls the daily breakout ranking from small accounts, WeChat Index and comments. Quotes the cost before each paid call."
|
|
8
8
|
category: writing
|
|
9
|
-
version: 2.3.
|
|
9
|
+
version: 2.3.68
|
|
10
10
|
author: iLang Inc.
|
|
11
11
|
---
|
|
12
12
|
|
|
13
13
|
::ILANG::v5.0
|
|
14
|
-
[TYPE:skill][PROJECT:wechat_awesome][VERSION:2.3.
|
|
14
|
+
[TYPE:skill][PROJECT:wechat_awesome][VERSION:2.3.68][DATE:2026-10-10][LANG:zh]
|
|
15
15
|
::STATE{@ROLE, function:用需求侧的每日清单和供给侧的真实阅读分享数据帮用户选方向 选题 排内容清单 找对标号,只标注数字,选题由用户定}
|
|
16
16
|
::STATE{@SCOPE, now:读每日清单+方向比较+内容清单+看榜+搜文章+找号+推文列表+单号对标+单篇数据+低粉爆文日榜+微信指数+留言+联想词, next:清单直接喂给写作专家当素材}
|
|
17
17
|
::STATE{@PROMISE, can:需求侧免费+每次花钱前报价+用用户自己的key和令牌+只读+数字原样报, cannot:替用户定选题|搬运或改写对标文章|把key或令牌进对话|不报价就花钱}
|
|
@@ -99,7 +99,7 @@ python <路径>/apify_wechat.py run --op <操作名> [--keyword ..] [--url ..] [
|
|
|
99
99
|
4. 找对标号:`accounts --keyword 品类词` 列出公众号和它们的原始ID,挑 3 到 5 个,各跑一次 `history --account 原始ID`。它会算这个号头条的阅读中位和每篇的倍率,倍率 2 以上的题是这个号的读者格外买账的,看标题公式和角度,不抄。
|
|
100
100
|
5. 对标文章用 `comments` 看精选留言。读者在留言里问的、吵的,就是下一篇能补的角度。
|
|
101
101
|
|
|
102
|
-
跑之前先跟用户说这次大约花多少:`viral` 一页约 0.65 美元,`suggest` 和 `index` 一个词约 0.35,`search` 一个词约 0.27,`accounts` 一个词约 0.16,`metrics`、`detail`、`history`、`comments` 一次几分钱到一毛。
|
|
102
|
+
跑之前先跟用户说这次大约花多少:`viral` 一页约 0.60 到 0.65 美元,`suggest` 和 `index` 一个词约 0.35,`search` 一个词约 0.27,`accounts` 一个词约 0.16,`metrics`、`detail`、`history`、`comments` 一次几分钱到一毛。
|
|
103
103
|
|
|
104
104
|
## 铁律
|
|
105
105
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
| `viral` | viralArticles | 低粉爆文日榜:小号里阅读远超平时的文章,一页 50 条,带这个号近 90 天的阅读基线和倍率 | 每条 0.012 |
|
|
17
17
|
| `search` | articleSearch | 按词搜公众号文章:标题、发文号、时间、链接 | 每篇 0.006 |
|
|
18
18
|
| `metrics` | articleMetrics | 单篇的阅读、点赞、在看、分享、收藏、评论数 | 每篇 0.03 |
|
|
19
|
-
| `accounts` | accountSearch | 按词找号:名称、微信号、原始ID
|
|
19
|
+
| `accounts` | accountSearch | 按词找号:名称、微信号、原始ID、主体、是否认证、原创篇数、简介。结果里混着视频号和小程序,默认只列公众号(订阅号、服务号),`--all` 全列 | 每个 0.008 |
|
|
20
20
|
| `history` | accountHistoryArticles | 一个号的历史发文:标题、时间、链接、微信列表里给的阅读,外加头条阅读中位和每篇的倍率 | 每篇 0.006 |
|
|
21
21
|
| `detail` | articleDetail | 正文、作者、是否原创、发文地区 | 每篇 0.03 |
|
|
22
22
|
| `comments` | articleComments | 精选留言:昵称、地区、内容、点赞数 | 每条 0.003 |
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
每次运行另收一次启动费 0.05 美元。其余七个操作:miniProgramSearch 搜小程序(每个 0.015)、articleCommentReplies 留言的回复(每条 0.025)、convertArticleLink 短链和长链互转(每条 0.025,链接用 `--link` 给)、accountBasicInfo 公众号资料、accountPrincipalInfo 认证主体、accountOriginalCount 原创篇数(这三个每个号 0.03)、accountTodayArticles 今日发文(每篇 0.006)。
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
套餐档位高的单价更低,这张表是免费档的数;付费 Starter 档低粉爆文每条 0.011、找号 0.007、联想词与指数 0.28,其余一样。下面「实测」那一栏是 Starter 档的实付。
|
|
30
30
|
|
|
31
31
|
## 实测一次拿回多少(2026-11-25)
|
|
32
32
|
|
|
@@ -42,7 +42,7 @@ ENV = os.path.join(os.path.expanduser("~"), ".apify.env")
|
|
|
42
42
|
OPS = ["articleSearch", "accountSearch", "miniProgramSearch", "searchSuggestions", "wechatIndexSearch", "articleDetail", "articleMetrics",
|
|
43
43
|
"articleComments", "articleCommentReplies", "convertArticleLink", "accountBasicInfo", "accountPrincipalInfo", "accountOriginalCount",
|
|
44
44
|
"accountTodayArticles", "accountHistoryArticles", "viralArticles"]
|
|
45
|
-
# 采集器页面 2026-11-25
|
|
45
|
+
# 采集器页面 2026-11-25 的按条单价(美元,免费档;付费档略低,Starter 档低粉爆文 0.011、找号 0.007、联想词与指数 0.28,档位越高越低)。只用来在跑之前报个数,实际以 Apify 账单为准。
|
|
46
46
|
START_FEE = 0.05
|
|
47
47
|
UNIT_PRICE = {"viralArticles": 0.012, "articleSearch": 0.006, "accountHistoryArticles": 0.006, "articleMetrics": 0.03, "articleDetail": 0.03,
|
|
48
48
|
"articleComments": 0.003, "articleCommentReplies": 0.025, "wechatIndexSearch": 0.30, "searchSuggestions": 0.30,
|
|
@@ -150,7 +150,7 @@ def short_url(u):
|
|
|
150
150
|
def clean(s, n=0):
|
|
151
151
|
s = re.sub(r"<[^>]*>", "", str(s if s is not None else ""))
|
|
152
152
|
s = re.sub(r"\s+", " ", s).strip()
|
|
153
|
-
return s[:n] if n else s
|
|
153
|
+
return (s[:n - 1] + "…") if n and len(s) > n else s
|
|
154
154
|
|
|
155
155
|
|
|
156
156
|
def num(v):
|
|
@@ -338,8 +338,8 @@ def cmd_metrics(a, tok):
|
|
|
338
338
|
|
|
339
339
|
# ---------- 找号 ----------
|
|
340
340
|
def account_rows(rows, include_all=False):
|
|
341
|
-
"""
|
|
342
|
-
return [r for r in rows if include_all or str(r.get("accTypeName") or "")
|
|
341
|
+
"""按词搜号的结果里混着视频号、小程序,默认只留公众号(订阅号和服务号都是公众号)。"""
|
|
342
|
+
return [r for r in rows if include_all or str(r.get("accTypeName") or "") in ("公众号", "服务号")]
|
|
343
343
|
|
|
344
344
|
|
|
345
345
|
def cmd_accounts(a, tok):
|
|
@@ -349,6 +349,7 @@ def cmd_accounts(a, tok):
|
|
|
349
349
|
inp = {"operation": "accountSearch", "keywords": kws, "maxPages": a.pages}
|
|
350
350
|
run, items, rows = fetch(tok, a, inp)
|
|
351
351
|
for kw, mine in group_by_target(rows):
|
|
352
|
+
mine = [r for r in mine if r.get("userName")] # 微信搜索夹带的提示行(如开启位置)没有原始ID,不是账号
|
|
352
353
|
print("「%s」搜到 %d 个账号,其中公众号 %d 个:" % (kw, len(mine), len(account_rows(mine))))
|
|
353
354
|
for r in account_rows(mine, a.all):
|
|
354
355
|
print(" [%s] %s|微信号 %s|原始ID %s|主体 %s|%s|%s" % (r.get("accTypeName") or "未知", clean(r.get("nickName") or r.get("title"), 24), r.get("aliasName") or "无", r.get("userName") or "无",
|
|
@@ -376,8 +377,8 @@ def parse_reads(desc):
|
|
|
376
377
|
|
|
377
378
|
|
|
378
379
|
def head_median(rows):
|
|
379
|
-
"""这批发文里头条(每次推送的第 1
|
|
380
|
-
reads = [parse_reads(r.get("showDesc"))[0] for r in rows if num(r.get("itemIndex"))
|
|
380
|
+
"""这批发文里头条(每次推送的第 1 条,itemIndex 从 1 起,2026-11-26 实测)的阅读中位。次条不代表这个号的水平,不算。少于 3 篇头条不算,给 None。"""
|
|
381
|
+
reads = [parse_reads(r.get("showDesc"))[0] for r in rows if num(r.get("itemIndex")) == 1]
|
|
381
382
|
reads = [x for x in reads if x is not None]
|
|
382
383
|
return int(statistics.median(reads)) if len(reads) >= 3 else None
|
|
383
384
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-plugin-chuhai",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.7",
|
|
4
4
|
"description": "自媒体出海 for DeepSeek Harness — 说一句「自媒体出海」,DSH 从零带你做到海外平台:写作人格、内容源、知识库、出文章、公众号走通,再到 X 开蓝 V、用上 Grok Bot。前半段的书随插件带着,能单独用;iLang DSH 工具包的第一个官方插件。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|