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