MoonBit static crawler with DNS-pinned transport, resumable jobs and bounded catalog export
moon update
moon run examples/offline --target nativemoon run cmd/mooncrawler --target native -- init config.jsonmoon run cmd/mooncrawler --target native -- validate config.json
moon run cmd/mooncrawler --target native -- crawl config.json data/job https://example.com/
moon run cmd/mooncrawler --target native -- status data/job
moon run cmd/mooncrawler --target native -- stats data/job
moon run cmd/mooncrawler --target native -- stats data/job --prometheus
moon run cmd/mooncrawler --target native -- export data/job pages.jsonlmoon run tools/cli_smoke.mbtx| 包 | 能力 |
|---|---|
| url / core | URL 规范化、相对链接、过滤、模型与配置 |
| frontier / retry | 优先级堆、延迟堆、去重、租约、状态与退避 |
| scheduler / robots / sitemap | 域名/全局限流、暂停、规则与缓存、有界 XML 发现 |
| security / fetcher | SSRF 策略、DNS 检查与固定连接 IP、受限 HTTP(S) |
| parser / pipeline | HTML5 DOM、有限单元素选择器、内容清洗和过滤 |
| storage / engine | 内存/文件适配器、JSONL、原子检查点、完整生命周期 |
Install
Download zipMoonBit static crawler with DNS-pinned transport, resumable jobs and bounded catalog export