SuperAPI AI Directory

wx-channels-download

Design & creation

View repository

Updated 10-15 17:33

About this skill

WeChat Channels Download

Use the bundled CLI instead of hand-copying parser responses. The CLI handles:

  1. validating https://weixin.qq.com/sph/... links,
  2. POSTing the share URL to the parser endpoint,
  3. selecting h264 or h265,
  4. downloading the resulting video URL,
  5. saving an mp4 to a local path.

Command

From this skill directory:

python3 scripts/wx_channels_download.py --url "https://weixin.qq.com/sph/A9znfitafp"

Useful options:

python3 scripts/wx_channels_download.py \
  --url "https://weixin.qq.com/sph/A9znfitafp" \
  --quality h265 \
  --output ./video.mp4 \
  --json

Default behavior:

  • parser: https://sph.litao.workers.dev/api/fetch_video_profile
  • quality: h264
  • output: ~/Downloads/<video-description>.mp4

Use --parser <url> if the default parser fails or the user has their own Cloudflare Worker parser.

Agent workflow

When the user pastes a 视频号 link and asks to download it:

  1. Run the CLI with --url and an explicit --output if the user requested a destination.
  2. Verify the resulting file exists and is non-empty. If ffprobe is available, verify duration and codecs.
  3. Report the saved path and observed metadata.

If the parser fails, say the link could not be resolved and include the parser error. Common causes: expired share link, parser cookie failure, Tencent endpoint changes, or restricted content.

Boundaries

This skill does not install certificates, modify system proxies, automate WeChat Desktop, or bypass access restrictions. It only downloads videos when the share-link parser returns a direct downloadable media URL.