docs: add justfile and rewrite README/CLAUDE.md for service architecture
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
+8
-5
@@ -1,8 +1,11 @@
|
||||
#!/bin/bash
|
||||
# Refresh HTML fixtures for provider parser tests.
|
||||
# Usage: ./fetch-fixture <number>
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
http --follow GET "https://gulasidorna.eniro.se/hitta:$1" > "fixtures/eniro/$1.html"
|
||||
http --follow GET "https://www.hitta.se/vem-ringde/$1" > "fixtures/hitta/$1.html"
|
||||
http --follow GET "http://konsumentinfo.se/telefonnummer/sverige/$1" > "fixtures/konsumentinfo/$1.html"
|
||||
http --follow GET "http://telefonforsaljare.nu/telefonnummer/$1/" > "fixtures/telefonforsaljare/$1.html"
|
||||
http --follow GET "http://vemringde.se/?q=$1" > "fixtures/vemringde/$1.html"
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user