Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .github/release-notes.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
## MPider v1.0.1
## MPider v1.0.2

- 公众号列表固定提供「导出所有文章」,导出该号全部已入库文章及已保存图片,同时生成 Markdown 和 HTML。
- 缺正文时显示未下载篇数,并提供下载入口。
- 底栏新增导出进度,切页后保留;完成或失败后隐藏,无任务时不显示。
- **HTML 保留正文排版**:从已缓存的原始 HTML 提取正文,保留字号、颜色、对齐、间距和图片样式;没有 HTML 的旧库继续使用 Markdown 导出。
- **导出目录更易浏览**:直接打开 `index.html` 搜索标题,文章按「序号_标题」命名;HTML 与 Markdown 共用去重图片,附带 CSV 清单与使用说明,不生成文章 ZIP。
- 兼容跨电脑复制数据库后缺少原归档目录的情况,修正原图与本地 640px 图片的匹配。
- 导出文章底部新增 Mp2RSS、MPHistory 产品链接,携带 `from=mpider` 来源标识。

Windows x64:推荐使用 `MPider_1.0.1_x64-setup.exe`,也提供中文 MSI 和完整便携 ZIP。
Windows x64:推荐使用 `MPider_1.0.2_x64-setup.exe`,也提供中文 MSI 和完整便携 ZIP。

本次验证包括离线回归、新华社 49 篇文章的导出和浏览器排版对照;不包含新的微信真机采集或 Windows 安装升级实测。仅支持已适配的微信 4.1.15.56 x64。

[更新记录](https://github.com/areyoubugcoder/mpider/blob/main/CHANGELOG.md)
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

本页记录面向使用者的功能与已知限制。开发完成、实机验证和正式发布分别说明,发行状态以 [GitHub Releases](https://github.com/areyoubugcoder/mpider/releases) 为准。

## v1.0.2

- HTML 导出优先使用已缓存的原始正文,保留字号、颜色、居中、间距、图片宽度和本地背景图;旧库仅有 Markdown 时继续兼容导出。
- 文章导出采用可直接打开的文件夹:可搜索的 `index.html`、按「序号_标题」命名的 HTML/Markdown、共享去重图片、`manifest.csv` 和 `README.txt`。
- 兼容跨电脑复制数据库后缺少原归档目录的场景,并修正原图与本地 640px 图片的匹配。
- 每篇导出文章底部加入 Mp2RSS、MPHistory 产品链接,统一携带 `from=mpider` 来源标识。

## v1.0.1

- 公众号操作列固定显示「导出所有文章」,覆盖该号全部已入库文章,缺正文时提示并提供下载入口。
Expand Down
7 changes: 4 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ members = ["crates/article-md", "crates/core", "src-tauri"]

[workspace.package]
edition = "2021"
version = "1.0.1"
version = "1.0.2"
license = "MIT"
repository = "https://github.com/areyoubugcoder/mpider"

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

[项目官网](https://areyoubugcoder.github.io/mpider/) · [下载客户端](https://github.com/areyoubugcoder/mpider/releases/latest) · [全部版本](https://github.com/areyoubugcoder/mpider/releases) · [使用说明](docs/windows-standalone.md) · [常见问题](docs/faq.md) · [反馈问题](https://github.com/areyoubugcoder/mpider/issues/new/choose) · [演示视频](https://xhslink.cn/o/8c23uHExcT6) · [进群交流](https://qm.qq.com/q/s4JavFxA3e)

> **v1.0.1 · Windows x64 正式开源版**。当前仅验证微信 **4.1.15.56 x64** 的模块与函数指纹;微信升级后需要重新适配。macOS、Linux 不支持本次原生采集。
> **v1.0.2 · Windows x64 正式开源版**。当前仅验证微信 **4.1.15.56 x64** 的模块与函数指纹;微信升级后需要重新适配。macOS、Linux 不支持本次原生采集。

## 什么是账号池?有什么风险?

Expand Down Expand Up @@ -80,7 +80,7 @@ flowchart TD
| 采集历史文章 | 按追加篇数或截止日期创建任务,支持暂停和检查点续采 |
| 更新会话后续采 | 按提示手动打开目标主页,完整新会话到齐后继续原任务 |
| 正文与图片下载 | 单篇、勾选或整号加入统一持久化队列,跳过已有正文 |
| 离线阅读与导出 | 同时生成 Markdown、HTML、双格式索引、已保存图片和缺图清单 |
| 离线阅读与导出 | 同时生成 Markdown、保留正文排版的 HTML、可搜索目录、共享图片和 CSV 清单 |
| 请求与任务管理 | 分别配置列表、正文和图片的间隔、并发与预算,查看请求记录和系统日志 |
| 客户端更新 | Windows 安装版检查 GitHub 正式版本,预下载并验签,确认后安装与重启 |

Expand All @@ -96,17 +96,17 @@ flowchart TD

| 下载文件 | 用途 |
| --- | --- |
| `MPider_1.0.1_x64-setup.exe` | 推荐,NSIS 安装版,支持应用内更新 |
| `MPider_1.0.1_x64_zh-CN.msi` | 中文 MSI 安装版 |
| `MPider-v1.0.1-windows-x64.zip` | 便携版,完整解压后运行 `MPider.exe`,保留旁边的 `runtime/` |
| `MPider_1.0.2_x64-setup.exe` | 推荐,NSIS 安装版,支持应用内更新 |
| `MPider_1.0.2_x64_zh-CN.msi` | 中文 MSI 安装版 |
| `MPider-v1.0.2-windows-x64.zip` | 便携版,完整解压后运行 `MPider.exe`,保留旁边的 `runtime/` |
| `SHA256SUMS` | 核对下载文件的 SHA-256 |

三个客户端包均携带 Python **3.12.10**、Frida **17.23.3**、cryptography **50.0.2** 及所需许可,无需另外安装 Python、Node.js、pnpm 或 Rust。微信和 WebView2 需要自行安装。不要只复制便携包内的 EXE。

安装包附带应用更新签名,用于 MPider 验证更新文件;它不等同于 Windows 开发者代码签名,系统仍可能提示发布者未知。可先核对附件摘要:

```powershell
Get-FileHash .\MPider_1.0.1_x64-setup.exe -Algorithm SHA256
Get-FileHash .\MPider_1.0.2_x64-setup.exe -Algorithm SHA256
```

## 开始采集
Expand Down
2 changes: 2 additions & 0 deletions crates/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ regex = "1.11.3"

# 文章正文 HTML → Markdown(独立解析库,移植自 Python wechat-article-parser)
article-md = { path = "../article-md" }
# 高保真 HTML 正文同时生成使用同一本地图片路径的 Markdown。
htmd = "0.2.2"

# RPA:剪贴板(mac/win 把种子链接放剪贴板,配合 osascript/人工粘贴送进微信)
# 只需文本剪贴板,关掉 image-data 默认特性以免拉进 image/objc2 等一大坨依赖。
Expand Down
5 changes: 5 additions & 0 deletions crates/core/src/store/workbench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1842,6 +1842,11 @@ impl Store {
.conn()
.query_row("SELECT cover FROM articles WHERE id=?", [id], |r| r.get(0))?)
}
pub fn wb_article_sn(&self, id: i64) -> Result<Option<String>> {
Ok(self
.conn()
.query_row("SELECT sn FROM articles WHERE id=?", [id], |r| r.get(0))?)
}
pub fn wb_cached_html(&self, id: i64) -> Result<Option<String>> {
Ok(self
.conn()
Expand Down
Loading
Loading