Actions6
- 公众号 Actions
- 文章 Actions
文章 → 下载文章内容
AI-generatedSummary
Download the content of a specified WeChat article in HTML, Markdown, Text, or JSON format, optionally exporting it as a file attachment.
Inputs
- 文章链接 (required) — The URL of the WeChat article to download.
- 输出格式 — The format to download the article content in; options include HTML, Markdown, Text, or JSON (default is HTML).
- 导出文件 — Whether to export the downloaded article content as a file. When enabled, the content is output in binary form with a filename reflecting the chosen format.
Output shape
a list of items, each containing the article content either as JSON with a 'content' field (if not exporting a file) or as a binary field with the file data (if exporting).
If '导出文件' is enabled, the node outputs the article content as a binary file with an appropriate mime type and file extension matching the selected format. Otherwise, the article content is returned as a JSON object with a 'content' property containing the article text in the selected format. Each output item corresponds to one input item.