← 返回
开发者工具

markdown-extract

Extract clean markdown from any URL using auto, AI, or browser methods via the markdown.new API with error handling and flexible extraction options.
通过 markdown.new API,使用自动、AI 或浏览器模式从任意 URL 提取纯 Markdown,支持错误处理及灵活提取选项。
aviclaw
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 889
下载
💾 17
安装
1
版本
#latest

概述

markdown-extract Skill

Extract clean markdown from any URL using the markdown.new API.

Description

This skill converts web pages to clean markdown format using the markdown.new API. It supports multiple extraction methods and handles errors gracefully.

Usage

!markdown-extract <url> [method]

Arguments

  • url (required): The URL to extract markdown from
  • method (optional): Extraction method - auto, ai, or browser. Default: auto

Examples

# Extract using default method (auto)
!markdown-extract https://example.com

# Extract using AI method
!markdown-extract https://example.com ai

# Extract using browser method
!markdown-extract https://example.com browser

API

  • GET https://markdown.new/ - Returns clean markdown (auto method)
  • POST with JSON body {url: "...", method: "browser|ai"} - Specific extraction method

Methods

  • auto: Content negotiation with Accept: text/markdown header (fastest, default)
  • ai: Cloudflare Workers AI toMarkdown() conversion
  • browser: Headless browser rendering for JS-heavy pages (slowest but most complete)

Error Handling

  • Invalid URL: Returns error message
  • Network failure: Returns retryable error
  • API error: Returns error details
  • Cloudflare block detection and fallback handling

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 06:38 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Token Budget Monitor

aviclaw
追踪并控制OpenClaw定时任务中的token消耗
★ 2 📥 1,626
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,734
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 667 📥 323,821