[codex] Parse public account article appmsgs#35
Draft
hqhq1025 wants to merge 1 commit into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
type=5) into readable history/export contentappmsgin JSON output, includingurl, title, description, source account, and thumbnail metadataWhy
Forwarded WeChat public-account articles are stored as appmsg XML. The raw XML contains the article URL and source account fields, but
wx historyandwx exportpreviously collapsed these messages to only[链接] <title>, andwx searchcould miss compressed article appmsgs because SQLLIKEcannot inspect the decompressed body.Validation
cargo test(44 passed)cargo checkwx history "Agent Hub" --json --type link --since 2026-05-04 --until 2026-05-11 -n 10now includesappmsg.urlwx search "候鸟300" --in "Agent Hub" --json -n 20finds the compressed article appmsgwx export "Agent Hub" --since 2026-05-04 --until 2026-05-10 -f txtincludes the visiblemp.weixin.qq.comURLNotes
cargo fmt --checkcurrently reports formatting changes across pre-existing files onmain; this PR intentionally does not reformat unrelated files.x86_64-linux-gnu-gccstdlib.h/string.hfor bundled C deps