From b6fb35b26ee24a1175dab8de01a63232f0be59cd Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Thu, 26 Sep 2024 19:26:11 -0700 Subject: [PATCH] Use https://tools.simonwillison.net/user-agent refs #158 --- tests/run_examples.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/run_examples.sh b/tests/run_examples.sh index 0803b9e..e7489a9 100755 --- a/tests/run_examples.sh +++ b/tests/run_examples.sh @@ -74,12 +74,12 @@ new Promise(done => setInterval( }, 1000 ));" -o examples/datasette-io-title-tagline-from-promise.json # Different browsers -shot-scraper 'https://www.whatismybrowser.com/detect/what-is-my-user-agent/' \ - -o examples/whatismybrowser-default-chromium.png -h 400 -w 800 -shot-scraper 'https://www.whatismybrowser.com/detect/what-is-my-user-agent/' \ - -o examples/whatismybrowser-firefox.png -h 400 -w 800 -b firefox -shot-scraper 'https://www.whatismybrowser.com/detect/what-is-my-user-agent/' \ - -o examples/whatismybrowser-webkit.png -h 400 -w 800 -b webkit +shot-scraper https://tools.simonwillison.net/user-agent \ + -o examples/useragent-default-chromium.png -h 400 -w 800 +shot-scraper https://tools.simonwillison.net/user-agent \ + -o examples/useragent-firefox.png -h 400 -w 800 -b firefox +shot-scraper https://tools.simonwillison.net/user-agent \ + -o examples/useragent-webkit.png -h 400 -w 800 -b webkit # Default font-render-hinting shot-scraper https://shot-scraper.datasette.io/en/stable/screenshots.html \ -w 800 -h 600 -o examples/font-hinting-default.png