使用 `https://markdown.new/crawl/{target_url}` 端点递归抓取网站板块并返回 Markdown。当用户请求抓取、下载或获取网站内容时触发此技能。
Use markdown.new/crawl for multi-page crawling and async Markdown generation.
curl (or any suitable alternative tools).POST /crawl to get a job ID.GET /crawl/status/{jobId} until crawl completes.?format=json only when structured output is needed.limit, depth, subdomain/external toggles, include/exclude patterns).500 pages per job./crawl fails (network, timeout, blocked host), fall back to another method and state the fallback.sh
curl -X POST "https://markdown.new/crawl" \
-H "Content-Type: application/json" \
-d '{"url":"https://docs.example.com","limit":50}'
sh
curl "https://markdown.new/crawl/status/<jobId>"
sh
curl "https://markdown.new/crawl/status/<jobId>?format=json"
sh
curl "https://markdown.new/crawl/https://docs.example.com"
sh
curl -X DELETE "https://markdown.new/crawl/status/<jobId>"
POST /crawl: create async crawl job and return job ID.GET /crawl/status/{jobId}: return crawl output and status.DELETE /crawl/status/{jobId}: cancel a running crawl; completed pages remain available.GET /crawl/{url}: browser-style shortcut that starts crawl and returns tracking page.url (required): crawl starting URL.limit: max pages, 1-500 (default 500).depth: max link depth, 1-10 (default 5).render: enable JS rendering for SPA pages.source: URL discovery strategy ( all, sitemaps, links).maxAge: max cache age seconds ( 0-604800, default 86400).modifiedSince: UNIX timestamp; crawl pages modified after this time.includeExternalLinks: include cross-domain links.includeSubdomains: include subdomains.includePatterns / excludePatterns: wildcard URL filtering.GET /crawl/status/{jobId} returns concatenated Markdown by default.?format=json for per-page structured records.?retain_images=true to keep them.limit values for targeted extraction to reduce cost and runtime.