Skip to main content
Processors are specialized engines that determine how changedetection.io analyzes and detects changes in web content. Each processor is optimized for specific monitoring scenarios.

Available Processors

Changedetection.io includes three built-in processors:

text_json_diff

Default processor for text and JSON comparison

restock_diff

Product restock and price monitoring

image_ssim_diff

Visual screenshot comparison

text_json_diff Processor

The default processor for general-purpose change detection. Compares text content extracted from web pages and identifies additions, deletions, and modifications.

When to Use

  • Monitoring article content changes
  • Tracking job postings or classifieds
  • Detecting updates in documentation
  • Watching for new social media posts
  • General web page change detection
  • JSON API monitoring

Features

Text Extraction
  • Converts HTML to readable text using inscriptis
  • Preserves formatting and structure
  • Handles embedded JSON (JSON-LD, application/json scripts)
Filtering Capabilities
  • CSS selectors for element targeting
  • XPath 1.0, 2.0, and 3.0 support
  • JSONPath and jq for JSON data
  • Regular expressions for text matching
  • Element removal filters
Diff Detection
  • Character-level, word-level, and line-level comparison
  • Highlighted additions and deletions
  • Context-aware diff display
  • PDF text change detection

Configuration

In the watch settings, ensure Processor is set to text_json_diff (default).
Example API Configuration

Use Cases

Track updates to news articles or blog posts:
The processor will detect when article content changes while ignoring timestamp updates.
Monitor job boards for new positions:
Get alerts when specific job titles appear.
Watch for changes in API responses:
The processor automatically detects JSON content and allows filtering with jq or JSONPath.

restock_diff Processor

Specialized processor for e-commerce product monitoring. Automatically extracts product metadata (price, availability, SKU) and intelligently detects restocks and price changes.

When to Use

  • Monitoring product availability
  • Tracking price changes
  • Detecting back-in-stock notifications
  • Watching for sales and discounts
  • E-commerce inventory monitoring

Features

Automatic Metadata Extraction
  • JSON-LD structured data (schema.org Product)
  • Open Graph meta tags
  • Microdata and RDFa
  • Fallback HTML parsing
Intelligent Detection
  • Price parsing with currency support (via Babel)
  • Stock status detection (in stock, out of stock, on backorder)
  • Stock quantity tracking
  • Sale price vs regular price
Notification Variables
  • {price} - Current product price
  • {stock_status} - Availability status
  • {stock_quantity} - Number of items in stock
  • {product_name} - Product title
  • {product_sku} - Product SKU/identifier

Configuration

In watch settings:
  1. Set Processor to restock_diff
  2. Configure price thresholds under Price & Restock Settings
Example API Configuration

Price Thresholds

number
Minimum price to trigger notification (alerts only if price is at or above this value)
number
Maximum price to trigger notification (alerts only if price is at or below this value)
number
Percentage change required to trigger notification (for example, 5 means 5% change)
string
  • changes_only - Alert only when stock status changes
  • always_trigger - Alert on every check if in stock

Use Cases

Get notified when high-demand electronics come back in stock:
Alert triggers when status changes from “Out of Stock” to “In Stock”.
Track when a product drops below your target price:
Get alerts when price drops 10% or more and falls below $1200.
Monitor sneaker drops and limited releases:
Fastest possible restock detection with minimal delay.
The restock processor works best on product pages with structured data. Check the Stats tab after the first check to see what metadata was extracted.

image_ssim_diff Processor

Visual comparison processor that detects changes in webpage screenshots using structural similarity analysis (SSIM).

When to Use

  • Monitoring visual changes (design, layout, images)
  • Detecting defacement or unauthorized modifications
  • Watching for banner/ad changes
  • Tracking visual elements that change frequently
  • Monitoring pages where text extraction is difficult

Features

Screenshot Capture
  • Requires Playwright browser integration
  • Full-page or viewport screenshots
  • Configurable viewport sizes
Image Comparison
  • SSIM (Structural Similarity Index) algorithm
  • Configurable similarity threshold
  • Pixel-level difference detection
  • Visual diff highlighting
Performance
  • Optional OpenCV acceleration (faster processing)
  • Fallback to pixelmatch when OpenCV unavailable
  • Automatic image optimization

Configuration

  1. Enable Playwright browser (required for screenshots)
  2. Set Processor to image_ssim_diff
  3. Configure SSIM threshold
Example API Configuration
number
default:"0.95"
SSIM threshold (0-1). Lower values = more sensitive to changes.
  • 0.99 = Very strict (tiny changes trigger)
  • 0.95 = Balanced (recommended)
  • 0.90 = Loose (only major changes)

Use Cases

Monitor for unauthorized changes to your website:
Immediate alerts for any visual changes.
Watch for changes in data visualization dashboards:
Monitor behind-login dashboards with visual comparison.
Screenshot comparison is resource-intensive. Use sparingly and increase check intervals to avoid performance issues.

Processor Comparison

Switching Processors

You can change a watch’s processor at any time:
1

Open watch settings

Click the Edit button next to your watch
2

Select processor

In the Processor dropdown, choose your desired processor
3

Configure processor settings

Each processor has unique configuration options that appear after selection
4

Re-check watch

Click Re-check to apply the new processor and establish a baseline
The first check after switching processors establishes a new baseline. Subsequent checks will compare against this baseline.

Creating Custom Processors

See Plugins for information on creating custom processor plugins.

Next Steps

Plugin System

Learn how to create custom processor plugins

Content Filtering

Master CSS selectors and XPath for precise targeting