POST /api/extract-url
從網頁中擷取圖片 URL。
POST /api/extract-url
Content-Type: application/json
{
"url": "https://example.com",
"options": {
"cssBackgrounds": true,
"svgs": true
}
} 用於網頁和 favicon 擷取的伺服器端介面。
所有 API 端點限制為每個 IP 每分鐘 60 次請求。
從網頁中擷取圖片 URL。
POST /api/extract-url
Content-Type: application/json
{
"url": "https://example.com",
"options": {
"cssBackgrounds": true,
"svgs": true
}
} 發現網域的 favicon URL。
POST /api/extract-favicon
Content-Type: application/json
{ "url": "https://example.com" } 透過伺服器代理下載圖片(需要同源 referer)。
GET /api/proxy-image?url=https%3A%2F%2Fexample.com%2Fimage.png