NEW AI Studio is now available Try it now
Photography & Design

SmugMug Scraper

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

Get Started Documentation
smugmug.com target
99.5% success rate
~4ms latency
Quick Start

Extract data in minutes

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
Fetch API

Structured data endpoint

Extract structured JSON from smugmug.com with a single POST request. AI-configured selectors, cached for fast repeat calls.

POST /fetch/smugmug.com/
Gallery titlePhotographerPhoto countAlbum nameDescriptionPrint prices
curl
curl -X POST https://api.spider.cloud/fetch/smugmug.com/ \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"return_format": "json"}'
Python
import requests

resp = requests.post(
    "https://api.spider.cloud/fetch/smugmug.com/",
    headers={
        "Authorization": "Bearer YOUR_API_KEY",
        "Content-Type": "application/json",
    },
    json={"return_format": "json"},
)
print(resp.json())
Node.js
const resp = await fetch("https://api.spider.cloud/fetch/smugmug.com/", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ return_format: "json" }),
});
const data = await resp.json();
console.log(data);
Extraction

Data you can extract

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 scraping smugmug.com

Get your API key and start extracting data in minutes.