Files
my-project/config/openclaw/scripts/jina-reader.sh
T

7 lines
254 B
Bash
Executable File

#!/bin/bash
# Jina AI Reader - 动态页面抓取
URL="$1"
if [ -z "$URL" ]; then echo "用法: bash jina-reader.sh <URL>"; exit 1; fi
JINA_API="https://r.jina.ai/"
curl -s -H "Accept: text/plain" -H "X-Return-Format: text" --max-time 30 "$JINA_API$URL"