defuddle
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseDefuddle
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使用 Defuddle CLI 从网页中提取干净、可读的内容。对于标准网页,优先使用它而不是 WebFetch——它可以移除导航、广告和杂乱内容,从而减少 token 使用量。
如果尚未安装:
npm install -g defuddleUsage
用法
Always use for markdown output:
--mdbash
defuddle parse <url> --mdSave to file:
bash
defuddle parse <url> --md -o content.mdExtract specific metadata:
bash
defuddle parse <url> -p title
defuddle parse <url> -p description
defuddle parse <url> -p domain始终使用 以 Markdown 格式输出:
--mdbash
defuddle parse <url> --md保存到文件:
bash
defuddle parse <url> --md -o content.md提取特定元数据:
bash
defuddle parse <url> -p title
defuddle parse <url> -p description
defuddle parse <url> -p domainOutput formats
输出格式
| Flag | Format |
|---|---|
| Markdown (default choice) |
| JSON with both HTML and markdown |
| (none) | HTML |
| Specific metadata property |
| 标志 | 格式 |
|---|---|
| Markdown(默认选择) |
| 同时包含 HTML 和 Markdown 的 JSON |
| (无) | HTML |
| 特定元数据属性 |