markmv clip
Convert web pages to markdown (web clipper)
Usage
markmv clip [options] <urls...>
Arguments
| Argument |
Description |
<urls...> |
URLs to clip or paths to files containing URLs (use --batch) |
Options
| Option |
Description |
Default |
-o, --output <file> |
Output file name (single URL only) |
|
--output-dir <dir> |
Output directory for clipped files |
|
--batch |
Process multiple URLs from input files |
|
--strategy <strategy> |
Extraction strategy: auto|readability|manual|full|structured |
auto |
--image-strategy <strategy> |
Image handling: skip|link-only|download|base64 |
link-only |
--image-dir <dir> |
Directory for downloaded images |
./images |
--selectors <selectors> |
CSS selectors for manual extraction (comma-separated) |
|
--no-frontmatter |
Skip frontmatter generation |
|
--timeout <ms> |
Request timeout in milliseconds |
30000 |
--user-agent <agent> |
Custom User-Agent string |
|
--headers <headers> |
Custom HTTP headers (JSON format) |
|
--cookies <file> |
Path to cookies file |
|
--no-follow-redirects |
Don't follow HTTP redirects |
|
--max-redirects <count> |
Maximum redirects to follow |
5 |
-d, --dry-run |
Show what would be clipped without creating files |
|
-v, --verbose |
Show detailed output with processing information |
|
--json |
Output results in JSON format |
|