通过 Jina AI 的 Reader API (r.jina.ai) 获取任意网页的 Markdown 内容,或使用 Search API (s.jina.ai) 搜索网页。
Two APIs, zero API key required (optional key for higher rate limits).
Simple (shell):
bash
curl -s "https://r.jina.ai/<URL>"
With script:
bash
python3 skills/jina-reader/scripts/jina_read.py <URL>
python3 skills/jina-reader/scripts/jina_read.py <URL> --no-images # strip images
python3 skills/jina-reader/scripts/jina_read.py <URL> --json # structured JSON response
With API key (set in .env):
bash
JINA_API_KEY=your_key python3 skills/jina-reader/scripts/jina_read.py <URL>
Useful request headers (for direct curl):
HeaderPurposeAuthorization: Bearer <key>Higher rate limitsX-Return-Format: markdownForce markdown outputX-Remove-Selector: imgStrip imagesAccept: application/jsonJSON response with title, url, content
Simple (shell):
bash
curl -s "https://s.jina.ai/<URL-encoded-query>"
With script:
bash
python3 skills/jina-reader/scripts/jina_search.py "your query"
python3 skills/jina-reader/scripts/jina_search.py "your query" --json
python3 skills/jina-reader/scripts/jina_search.py "your query" --json --results 3
APIWithout KeyWith KeyReader ( r.jina.ai)✅ Works (rate-limited)Higher limitsSearch ( s.jina.ai)❌ Requires key✅ Works
Store as JINA_API_KEY in .env. Get a free key at: https://jina.ai/api-dashboard
No key for search? Use the
duckduckgo-searchskill as a fallback.
--no-images to reduce token usage