6babaa0166
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
12 lines
326 B
Bash
Executable File
12 lines
326 B
Bash
Executable File
#!/bin/bash
|
|
# Refresh HTML fixtures for provider parser tests.
|
|
# Usage: ./fetch-fixture <number>
|
|
|
|
set -euo pipefail
|
|
|
|
curl -sL -A "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)" \
|
|
"https://www.hitta.se/vem-ringde/$1" \
|
|
-o "fixtures/hitta/$1.html"
|
|
|
|
echo "fixtures/hitta/$1.html: $(wc -c < "fixtures/hitta/$1.html") bytes"
|