# Save WeChat brand posts as clean HTML

**Use case:** 

Reads public WeChat Official Account posts from Xiaomi and Enflame and returns each one as cleaned HTML beside the plain text and Markdown: paragraphs, direct image URLs, and headings, tables and links when used in the post. A row also carries the title, account, author when credited, publish time, cover image when set and canonical link. Not affiliated with Tencent or WeChat.

## Input

```json
{
  "urls": [
    "https://mp.weixin.qq.com/s/1lLv1qqErL7XD2TLxV02tg",
    "https://mp.weixin.qq.com/s/0sDc9_0eXCj17rsF_FQz6Q"
  ],
  "maxItems": 2,
  "includeMarkdown": true,
  "includeHtml": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "title": {
    "label": "Title",
    "format": "string"
  },
  "accountName": {
    "label": "Account",
    "format": "string"
  },
  "publishedAt": {
    "label": "Published",
    "format": "string"
  },
  "articleType": {
    "label": "Type",
    "format": "string"
  },
  "charCount": {
    "label": "Characters",
    "format": "integer"
  },
  "imageCount": {
    "label": "Images",
    "format": "integer"
  },
  "isOriginal": {
    "label": "Original",
    "format": "boolean"
  },
  "ipRegion": {
    "label": "IP region",
    "format": "string"
  },
  "error.type": {
    "label": "Not read",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The WeChat Article Scraper: Full Text, Markdown & Images (No Login) Actor is ready to run with the inputs already set for "Save WeChat brand posts as clean HTML". [Sign up or log in](https://console.apify.com/create-task-from-example/nguhy6FMNLWTfhtgO) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Save WeChat brand posts as clean HTML" task

The WeChat Article Scraper: Full Text, Markdown & Images (No Login) Actor will start running based on the input automatically. You can also change all the input fields, like wechat article links, maximum rows, and more, to match your specific use case.

### 3. Receive the "Save WeChat brand posts as clean HTML" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as title, account, published, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Save WeChat brand posts as clean HTML" task via API](https://apify.com/kizukidata/wechat-article-reader.md).

## FAQ

### What does the WeChat brand posts task return?

One row per post: cleaned HTML of the body in contentHtml, plain text, Markdown, title, account, author when credited, publish time, cover image when set, image URL list and canonical link.

### Why keep HTML as well as Markdown?

HTML keeps paragraphs, tables and links as a page for your own archive, and Markdown is for a document store or a prompt. If you only need Markdown, use the WeChat articles to Markdown task.

### Do the images arrive as files?

No. images and coverImage hold direct https URLs, and contentHtml points at the same URLs. Download the files from those URLs if you need copies.

### Does it need a WeChat account or the app?

No WeChat account, no app and no login. It reads the public article page, and it is not affiliated with Tencent, Xiaomi or Enflame.

## About this Actor

This example demonstrates how to use [WeChat Article Scraper: Full Text, Markdown & Images (No Login)](https://apify.com/kizukidata/wechat-article-reader.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/kizukidata/wechat-article-reader.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/kizukidata/wechat-article-reader.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
