Website Image Downloader

io.github.SSTEmpresarialv1.0.0更新于 Oct 6, 2026

Download all images from any web page or extract image URLs, with sizes, formats and alt text.

已验证Streamable HTTP可网页运行Media & DesignWeb Search & Scraping

概览

AI 生成的概览

下载或列出网页上的所有图片,返回图片网址及尺寸、格式和替代文本。

功能
这是一个托管在 Apify 上的工具,可抓取指定网页或站点上的所有图片。它返回图片网址以及真实的宽度、高度、格式、文件大小和替代文本,支持下载模式(ZIP 加数据行)、检查模式(仅数据行)和列表模式(仅网址)。它能处理 srcset、picture 元素、懒加载属性、CSS 背景和 og:image,过滤图标、雪碧图和追踪像素,并支持深度 1 至 3 的同站爬取。
适用场景
当助手需要收集或审查某个页面或小型站点上的图片时使用,例如收集素材、检查图片格式和尺寸,或提取图片网址以便后续处理。它是托管服务,适合不想在本地运行抓取程序的用户。
运行要求
远程 MCP 端点 mcp.apify.com,需要在 Authorization 请求头中以 'Bearer ' 形式提供 Apify API 令牌。需要免费的 Apify 账户,费用按图片数量、列表模式下的网址数量以及每次运行计费。需要网络访问。
安装前请注意
Authorization 请求头携带 Apify API 令牌,应视为机密。使用会产生费用:按每 1,000 张图片、列表模式下每 1,000 个网址以及每次运行计费,爬取设有支出上限。请仅下载你有权使用的图片。该服务会代你抓取第三方页面。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Website Image Downloader,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "website-image-downloader": {
      "type": "http",
      "url": "https://mcp.apify.com?tools=sste/website-image-downloader"
    }
  }
}

README

Website Image Downloader — API & MCP examples

Download all images from any website (or just extract their URLs) with width, height, format, file size and alt text — as a ZIP, through a REST API, or as a tool for AI agents via MCP. Icons, sprites and tracking pixels are filtered out; srcset, <picture> and lazy-loaded images are handled.

This repo contains ready-to-run examples for the hosted Website Image Downloader (Apify Actor sste/website-image-downloader), plus dependency-light do-it-yourself extractors in Python and JavaScript.

Store pagehttps://apify.com/sste/website-image-downloader
Docs & guideshttps://website-image-downloader.pages.dev
MCP serverhttps://mcp.apify.com?tools=sste/website-image-downloader
Pricing$0.20 per 1,000 images · $0.05 per 1,000 URLs in list mode · $0.001 per run

Quick start (cURL)

bash
export APIFY_TOKEN=...   # Apify Console → Settings → Integrationsbash curl/download-all-images.sh https://www.example.com/bash curl/list-image-urls.sh https://www.example.com/

Python

bash
pip install "apify-client>=3"python python/download_images.py https://www.example.com/     # writes images.zip + images.csvpython python/diy_extract_image_urls.py https://www.example.com/  # no API, requests + BeautifulSoup

JavaScript / Node.js

bash
npm i apify-client cheerionode javascript/download-images.mjs https://www.example.com/node javascript/diy-extract-image-urls.mjs https://www.example.com/

AI agents (MCP)

ClientConfig
Claude Desktop / Cursor / Windsurfmcp/claude_desktop_config.json
VS Code (.vscode/mcp.json)mcp/vscode-mcp.json
Claude Codeclaude mcp add --transport http website-image-downloader "https://mcp.apify.com?tools=sste/website-image-downloader"
Any client (stdio)npx -y @apify/actors-mcp-server --tools sste/website-image-downloader

Example prompts: mcp/prompts.md. Registry entry: server.json (io.github.SSTEmpresarial/website-image-downloader).

What the hosted tool handles

  • largest srcset / <picture> candidate, lazy-load attributes (data-src, data-srcset, data-lazy-src, data-original, data-bg), <noscript>, CSS backgrounds, og:image
  • real width/height/format from file bytes; filters by size, format and URL text; soft-404 detection; SHA-256 dedupe
  • modes: download (ZIP + rows), inspect (rows only), list (URLs only)
  • same-site crawling (depth 1–3), spending caps

Guides: download all images from a website · extract image URLs · filter icons & tracking pixels · srcset & lazy loading · Shopify

Only download images you have the right to use. MIT licensed examples.

来源:README.md,提交 b48efe6

工具

0
工具元数据尚未被收录。

版本历史

1
  1. v1.0.0最新Oct 6, 2026