Defuddle
Use Defuddle CLI when the user wants clean Markdown extracted from a web page. It removes navigation, ads, and other page clutter.
Check availability with defuddle --help. If it is missing, explain the dependency and offer installation with npm install -g defuddle. Do not claim extraction succeeded if the tool is unavailable or returns an error.
Usage
Always use --md for markdown output:
defuddle parse <url> --mdSave to file:
defuddle parse <url> --md -o content.mdExtract specific metadata:
defuddle parse <url> -p title
defuddle parse <url> -p description
defuddle parse <url> -p domainOutput formats
| Flag | Format |
|---|---|
--md |
Markdown (default choice) |
--json |
JSON with both HTML and markdown |
| (none) | HTML |
-p <name> |
Specific metadata property |