技能 编程开发 网页内容提取清理工具

网页内容提取清理工具

v20260915
defuddle
Defuddle 是一款命令行工具,用于从 HTML 网页中提取干净可读的 Markdown 内容。它能有效移除导航元素、广告和杂乱信息,减少处理时的 token 消耗。用户可选择 Markdown、JSON 或 HTML 等输出格式,并提取特定元数据。相比 WebFetch,Defuddle 更适合标准网页,提供更纯净的内容。
获取技能
210 次下载
概览

Defuddle

Use Defuddle CLI to extract clean readable content from web pages. Prefer over WebFetch for standard web pages — it removes navigation, ads, and clutter, reducing token usage.

If not installed: npm install -g defuddle

Usage

Always use --md for markdown output:

defuddle parse <url> --md

Save to file:

defuddle parse <url> --md -o content.md

Extract specific metadata:

defuddle parse <url> -p title
defuddle parse <url> -p description
defuddle parse <url> -p domain

Output formats

FlagFormat
--mdMarkdown (default choice)
--jsonJSON with both HTML and markdown
(none)HTML
-p <name>Specific metadata property
信息
分类 编程开发
名称 defuddle
版本 v20260915
大小 831B
更新时间 2026-09-17
语言