What problem does it solve?
This Skill helps users scrape web content and convert it into clean Markdown or PDF formats, removing noisy elements like navigation, headers, footers, and ads. It supports general websites and WeChat (微信公众号) articles, with Playwright-based anti-bot handling for WeChat. By default, output includes both Markdown and PDF, unless you specify Markdown-only.
Core Features & Use Cases
- Noise-free extraction using a CSS-selector cleaning strategy
- Image preservation with alt text
- Special handling for WeChat articles (lazy-loaded images, metadata extraction)
- Clean Markdown output ready for translation or further processing
- PDF conversion with clean reading style and CJK font support
- Both MD and PDF outputs by default (configurable)
Quick Start
- General web pages: python scripts/fetch_web_content.py <url> <output_filename.md>
- WeChat articles: python scripts/fetch_weixin.py "<微信文章URL>" [output_filename.md]
- Convert Markdown to PDF: python scripts/md_to_pdf.py <markdown_file>.md