← 返回
数据分析 中文

Jina Reader

Extract clean, readable markdown content from any URL using Jina Reader API. Use when you need to fetch and parse web pages without dealing with HTML, JavaScript rendering, or paywalls. Ideal for research, article summarization, content analysis, and working with search results from tavily-search, web_search, or searxng skills.
利用 Jina Reader API 从任意 URL 提取简洁、易读的 Markdown 内容。适用于抓取和解析网页,无需处理 HTML、JavaScript 渲染或付费墙。非常适合研究、文章摘要、内容分析以及处理 tavily-search、web_search 或 searxng 技能的搜索结果。
smile-xuc
数据分析 clawhub v1.0.0 1 版本 99809.5 Key: 无需
★ 0
Stars
📥 1,572
下载
💾 51
安装
1
版本
#content-extraction#latest#research#web-scraping

概述

Jina Reader

Overview

Jina Reader provides clean markdown extraction from any URL, bypassing HTML complexity, JavaScript rendering, and many paywalls. It returns structured text content with metadata (title, URL, published time) that's perfect for AI analysis.

Quick Start

Extract markdown content

scripts/jina-reader.py <url>

Extract with JSON metadata

scripts/jina-reader.py <url> --format json

Save to file

scripts/jina-reader.py <url> -o output.md

Core Operations

1. Basic Extraction

Extract clean markdown from any URL:

scripts/jina-reader.py https://example.com/article

Returns: Full markdown content including title, metadata headers, and structured text.

Use when: You need readable text from a webpage for summarization, analysis, or content processing.

2. JSON Format

Get structured data with metadata:

scripts/jina-reader.py https://example.com/article --format json

Returns:

{
  "status": "success",
  "metadata": {
    "title": "Article Title",
    "url": "https://example.com/article",
    "published": "Mon, 10 Feb 2026 12:00:00 GMT"
  },
  "content": "Markdown content..."
}

Use when: You need programmatic access to metadata or want to integrate with other tools.

3. Shell Script Quick Access

For simple one-liners:

scripts/jina-reader.sh https://example.com/article

Returns: Raw markdown content directly to stdout.

Use when: Quick extraction without arguments or when piping to other commands.

Usage Patterns

Combining with Search

When using tavily-search, web_search, or searxng skills:

  1. Get search results with relevant URLs
  2. Extract content from top results using jina-reader
  3. Process and summarize the extracted content
# Example workflow
URL="https://example.com/article"
scripts/jina-reader.py "$URL" --format json | jq -r '.content'

Batch Processing

Extract from multiple URLs:

for url in $(cat urls.txt); do
  scripts/jina-reader.py "$url" -o "output/$(basename $url).md"
done

Content Analysis

Pipe extracted content to analysis tools:

scripts/jina-reader.py https://example.com/article | wc -w
scripts/jina-reader.py https://example.com/article | grep -i "keyword"

Options

Python Script (jina-reader.py)

  • url (required): The URL to extract content from
  • -f, --format: Output format - markdown or json (default: markdown)
  • -t, --timeout: Request timeout in seconds (default: 30)
  • -o, --output: Save output to file instead of stdout

Shell Script (jina-reader.sh)

  • url (required): The URL to extract content from

Limitations

  • Timeout: Default 30 seconds. Increase with -t for slow-loading pages
  • Rate limits: Jina Reader API has rate limits. Use batching strategically
  • Dynamic content: Can't extract content generated by client-side JavaScript after page load
  • Authentication: Can't access pages requiring login or special headers

Troubleshooting

Timeout errors

scripts/jina-reader.py <url> -t 60  # Increase timeout

Invalid URLs

The tool auto-prepends https:// if missing. Use fully qualified URLs for reliability.

Empty content

Some pages may block scraping. Try the shell script as fallback, or verify the URL is accessible.

Resources

scripts/jina-reader.py

Full-featured Python tool with JSON output, metadata extraction, and file saving.

scripts/jina-reader.sh

Lightweight shell script for quick markdown extraction.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 01:54 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 368 📥 140,377
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 165 📥 59,947
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 198 📥 65,072