Download Latest Version 1.8 source code.tar.gz (38.6 kB)
Email in envelope

Get an email when there's a new version of shot-scraper

Home / 1.5
Name Modified Size InfoDownloads / Week
Parent folder
1.5 source code.tar.gz 2024-09-27 33.5 kB
1.5 source code.zip 2024-09-27 48.0 kB
README.md 2024-09-27 1.2 kB
Totals: 3 Items   82.8 kB 0
  • Several new features for the YAML configuration used by shot-scraper multi:
  • You can now add a - server: python -m http.server 8003 block to start a server running before screenshots are taken. The PID for this server will be recorded and the server automatically terminated when the command completes, unless you specify the --leave-server option in which case it will be left running, useful for debugging. [#156]
  • The sh: shell command or python: python code blocks can specify Python or shell commands to run before a screenshot is taken. This means a YAML script can make modifications to the environment in between screenshots, useful for things like progressive tutorials. [#155]
  • Fixed a bug that occurred if a max-width was accidentally applied to the <div> used for region screenshots. Thanks, Johann Klähn. [#143]
  • Documented that shot-scraper will quit with an error if a --wait-for expression has not resolved in 30s.
Source: README.md, updated 2024-09-27