Datasette’s new JSON write API: The first alpha of Datasette 1.0
I'm really pleased with the Hacker News scraping demo in this - it's an extension of the scraper I wrote back in March, using shot-scraper to execute JavaScript in headless Chrome and write the resulting JSON back to a Git repo: <a href="https://simonwillison.net/2022/Mar/14/scraping-web-pages-shot-scraper/" rel="nofollow">https://simonwillison.net/2022/Mar/14/scraping-web-pages-sho...</a><p>My new demo also then pipes that data up to Datasette using curl -X POST - this script here: <a href="https://github.com/simonw/scrape-hacker-news-by-domain/blob/main/submit-to-datasette-cloud.sh" rel="nofollow">https://github.com/simonw/scrape-hacker-news-by-domain/blob/...</a>