#!/usr/bin/env bash set -euo pipefail INPUT_HTML="${1:-ikfreunde.com.html}" OUTPUT_JSON="${2:-content/site-content.de.json}" mkdir -p "$(dirname "$OUTPUT_JSON")" php -d opcache.enable_cli=0 scripts/extract_dom_content.php "$INPUT_HTML" "$OUTPUT_JSON"