Skip to main content
AI Studio  add-on for Spider.
Photography & Design
smugmug.com Verified

SmugMug Scraper

Extract photo galleries, album structures, photographer portfolios, and print pricing from SmugMug hosted sites. Built on spider-browser .

Get started Docs
target
smugmug.com
success rate
99.9%
latency
~4ms
POST /fetch/smugmug.com/
return_format
curl -X POST https://api.spider.cloud/fetch/smugmug.com/ \
  -H "Authorization: Bearer $SPIDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"return_format": "json"}'
200 OK · cache hit · response shape
{
  "url": "https://smugmug.com/",
  "status": 200,
  "data": {
    "gallery_title": "string",
    "photographer": "string",
    "photo_count": "string",
    "album_name": "string",
    "description": "string",
    "print_prices": "string"
  }
}
Quick start

Extract data in minutes.

Structured JSON from smugmug.com with a single POST. AI-resolved selectors, cached on the first call.

smugmug-scraper.ts
import { SpiderBrowser } from "spider-browser";

const spider = new SpiderBrowser({
  apiKey: process.env.SPIDER_API_KEY!,
});

await spider.connect();
const page = spider.page!;
await page.goto("https://www.smugmug.com/gallery-collection/");
await page.content();

const data = await page.evaluate(`(() => {
  const galleries = [];
  document.querySelectorAll(".sm-gallery-tile").forEach(el => {
    const title = el.querySelector(".sm-tile-title")?.textContent?.trim();
    const count = el.querySelector(".sm-tile-count")?.textContent?.trim();
    const img = el.querySelector("img")?.getAttribute("src");
    if (title) galleries.push({ title, count, img });
  });
  return JSON.stringify({ total: galleries.length, galleries: galleries.slice(0, 10) });
})()`);

console.log(JSON.parse(data));
await spider.close();
ready to run · spider-browser · TypeScript
Extraction

Fields you can pull.

Gallery titlePhotographerPhoto countAlbum nameDescriptionPrint prices
Content

Asset metadata

Extract image metadata, tags, and license info from smugmug.com.

Rendering

Gallery handling

Handle masonry grids, lightboxes, and lazy-loaded image galleries.

Scale

Collection scraping

Process entire collections and portfolios with automatic pagination.

Related

More Photography & Design scrapers.

Start

Start scraping smugmug.com.

Grab an API key and call the endpoint above. The first request resolves the config; every request after hits cache.