Skip to content

0.9

Compare
Choose a tag to compare
@simonw simonw released this 14 Mar 00:05
· 165 commits to main since this release
9c73ed6
  • New shot-scraper javascript command for executing JavaScript against a web page and returning the result to the console as JSON: #38

    % shot-scraper javascript datasette.io document.title
    "Datasette: An open source multi-tool for exploring and publishing data"
    

    This can be used for web scraping and data extraction. Any JavaScript errors will cause the command to return an exit code of 1, so this can also be used to run tests against a website from within a continuous integration environment such as GitHub Actions.

  • The shot-scraper pdf and shot-scraper accessibility commands can both now be used with local files in addition to URLs. #37

  • The output: key is no longer required in YAML shot configuration: if omitted, an automatic filename will be used instead. #40

  • An empty YAML file no longer produces an error. #41