爬取 VitePress 站点并转换为 Markdown

Crawl VitePress sites and convert content into Markdown files.

Updated Mar 3, 2026
One-click install
npx skills add https://github.com/Zbl1007/scraper_skill --skill vitepress-markdown
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 爬取 VitePress 站点并转换为 Markdown
Source: https://github.com/Zbl1007/scraper_skill/tree/main
Command: npx skills add https://github.com/Zbl1007/scraper_skill --skill vitepress-markdown

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, BeautifulSoup4, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the process of crawling content from VitePress sites and converting it into editable Markdown files, saving time and effort in content migration and management.

Core Features & Use Cases

  • Crawling VitePress Sites: Automatically crawl entire VitePress sites and extract all page content.
  • Lean.js Parsing: Handle dynamic content stored in .lean.js files using a custom parser for Vue 3 rendering functions.
  • Markdown Conversion: Convert extracted HTML content into Markdown format for easy editing and sharing.
  • Use Case: For instance, you can use this Skill to convert a knowledge base website built with VitePress into a structured Markdown file for better organization and accessibility.

Quick Start

Use the '爬取 VitePress 站点并转换为 Markdown' skill to crawl and convert the content of the VitePress site at 'https://www.example.com' into Markdown files.

Frequently Asked Questions about 爬取 VitePress 站点并转换为 Markdown

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I crawl a VitePress site and convert its content to Markdown?

VitePress sites use Vue 3 rendering functions and dynamic content stored in .lean.js files. This Skill uses a custom lean.js parser to handle these dynamic files, ensuring accurate extraction and conversion of the site's content into Markdown.

How does HTML to Markdown conversion handle dynamic .lean.js files in VitePress?

VitePress sites use Vue 3 rendering functions and dynamic content stored in .lean.js files. This Skill uses a custom lean.js parser to handle these dynamic files, ensuring accurate extraction and conversion of the site's content into Markdown.

Do I need BeautifulSoup4 and requests to extract content from a VitePress knowledge base?

Yes, BeautifulSoup4 and requests are required dependencies for crawling VitePress sites. These Python libraries handle HTTP requests and HTML parsing, enabling the extraction of content before its conversion into Markdown files.

What is the best way to migrate content from a VitePress knowledge base to Markdown files?

The best way to migrate VitePress knowledge base content to Markdown files is through automated site crawling. This Skill extracts all page content, handles dynamic .lean.js files, and outputs structured Markdown files for better organization and accessibility.

Can I convert an entire VitePress site into Markdown format for content migration?

Yes, you can convert an entire VitePress site into Markdown format. The Skill automatically crawls all available pages on the target site, extracts the content, and saves it as editable Markdown files suitable for content migration.