Prompt

Website change detection crawler

Technology / Cloud Infrastructure1 observationLast seen Oct 4, 2026

Latest observation

Oct 4, 2026OpenAI APIWeb search: off

If you want a website change detection crawler, there are a few common approaches depending on what you need:

1. Simple page monitor

Checks a URL periodically and compares content to the previous version.

Best for: single pages, prices, announcements, docs.
How it works:

  • Fetch HTML
  • Normalize content
  • Hash it
  • Compare with last hash
  • Alert if different

2. Headless browser crawler

Uses Playwright/Selenium to render JavaScript-heavy pages before comparing.

Best for: modern sites that load content dynamically.

3. DOM-aware diff crawler

Instead of comparing raw HTML, compare extracted text or specific selectors.

Best for: reducing false positives from ads, timestamps, or layout changes.


Basic Python example

Here’s a minimal crawler that detects changes to a page:

import requests
import hashlib
import os

URL = "https://example.com"
STATE_FILE = "page_hash.txt"

def fetch_page(url):
    r = requests.get(url, timeout=20)
    r.raise_for_status()
    return r.text

def hash_content(content):
    return hashlib.sha256(content.encode("utf-8")).hexdigest()

def load_previous_hash():
    if os.path.exists(STATE_FILE):
        with open(STATE_FILE, "r") as f:
            return f.read().strip()
    return None

def save_hash(h):
    with open(STATE_FILE, "w") as f:
        f.write(h)

def main():
    content = fetch_page(URL)
    current_hash = hash_content(content)
    previous_hash = load_previous_hash()

    if previous_hash and previous_hash != current_hash:
        print("Change detected!")
    elif not previous_hash:
        print("First run, storing baseline.")
    else:
        print("No change.")

    save_hash(current_hash)

if __name__ == "__main__":
    main()

Better production features

  • Respect robots.txt
  • Rate limiting / backoff
  • Store snapshots in a DB or S3
  • Ignore dynamic noise with CSS selector extraction
  • Send alerts via email/Slack/webhook
  • Schedule with cron, Celery, Airflow, or a serverless job

If you want a scalable architecture

Typical components:

  • Scheduler: triggers crawls
  • Fetcher: HTTP or headless browser
  • Normalizer: cleans content
  • Comparator: detects changes
  • Storage: hashes, snapshots, history
  • Notifier: alerts on changes

If you want, I can generate:

  1. a full Python crawler project,
  2. a Playwright-based version, or
  3. a Dockerized service with alerts.

Observation history

How did Obsurfable measure this prompt?

Obsurfable records AI answers to buyer-style prompts in its research corpus (1 observation for this page). Metrics are distributions over observations, not a single static ranking.

Which AI systems does Obsurfable collect answers from?

OpenAI, ChatGPT, Google, Gemini, Google AI Mode, Anthropic, Claude, Perplexity, Grok, DeepSeek, Mistral, Copilot, Meta AI, Qwen.

How can brands improve their AEO?

Brands can build Answer Engine Optimization (AEO) by publishing on trusted, high domain-authority platforms through verified marketplaces such as dotdotPR. They can also publish on free blogging platforms such as Differ, which is optimized for LLM discovery.

Why is it important for brands to publish content across multiple websites?

Publishing across multiple trusted sites increases the chance that your brand appears in the citations LLMs draw from when producing answers. Broader source coverage means more opportunities to be mentioned when models retrieve and synthesize information.

Want this interpreted for your brand?

Explorer is the free public corpus. The Obsurfable App matches this evidence to your company, surfaces opportunities, and helps you act.