Save WeChat public account articles to a Notion database. Use when user sends a mp.weixin.qq.com link and wants to save/archive it to Notion. Fetches title, cover image, body content (paragraphs, headings, images, code blocks, lists) and writes them as Notion blocks.
The script auto-detects field names from the database schema by type (title, url, date, select, multi_select), writes all content blocks in batches of 100, and posts the comment to the Notion Comments panel.
Notes
Cover image: extracted from og:image meta tag, inserted as the first block
Rich text (bold/italic), code blocks, and lists are preserved by fetch_wechat.py
Read time defaults to current system time with local UTC offset if omitted
The comment appears in the Notion Comments panel, not in the page body
Field names are language-agnostic — the script maps by type, not by name