A CLI utility for taking screenshots of websites, recording video demos and scraping sites using JavaScript
See the codeA CLI utility for taking screenshots of websites, recording video demos and scraping sites using JavaScript
For background on this project see shot-scraper: automated screenshots for documentation, built on Playwright.
To get started without installing any software, use the shot-scraper-template template to create your own GitHub repository which takes screenshots of a page using shot-scraper. See Instantly create a GitHub repository to take screenshots of a web page for details.
You can install the shot-scraper CLI tool using pip:
pip install shot-scraper
# Now install the browser it needs:
shot-scraper install
You can take a screenshot of a web page like this:
shot-scraper https://datasette.io/
This will create a screenshot in a file called datasette-io.png.
Many more options are available, see Taking a screenshot for details.
shot-scraper running in the simonw/datasette-screenshots GitHub repository, described in detail in Automating screenshots for the Datasette documentation using shot-scraper.shot-scraper and GitHub Actions to take screenshots of news website homepages and publish them to Twitter. The code for that lives in palewire/news-homepages.shot-scraper javascript to scrape a web page. See Scraping web pages from the command-line with shot-scraper for details of how this works.Overall
Maintained
Code review
PyPI
Latest release
Releases this year
(top 24 of 31)
1,223 followers · starred Jul 2022
1,039 followers · starred Feb 2025
190 followers · starred Oct 2025
1,852 followers · starred Oct 2025
A CLI utility for taking screenshots of websites, recording video demos and scraping sites using JavaScript
See the codeA CLI utility for taking screenshots of websites, recording video demos and scraping sites using JavaScript
For background on this project see shot-scraper: automated screenshots for documentation, built on Playwright.
To get started without installing any software, use the shot-scraper-template template to create your own GitHub repository which takes screenshots of a page using shot-scraper. See Instantly create a GitHub repository to take screenshots of a web page for details.
You can install the shot-scraper CLI tool using pip:
pip install shot-scraper
# Now install the browser it needs:
shot-scraper install
You can take a screenshot of a web page like this:
shot-scraper https://datasette.io/
This will create a screenshot in a file called datasette-io.png.
Many more options are available, see Taking a screenshot for details.
shot-scraper running in the simonw/datasette-screenshots GitHub repository, described in detail in Automating screenshots for the Datasette documentation using shot-scraper.shot-scraper and GitHub Actions to take screenshots of news website homepages and publish them to Twitter. The code for that lives in palewire/news-homepages.shot-scraper javascript to scrape a web page. See Scraping web pages from the command-line with shot-scraper for details of how this works.Overall
Maintained
Code review
PyPI
Latest release
Releases this year
(top 24 of 31)
1,223 followers · starred Jul 2022
1,039 followers · starred Feb 2025
190 followers · starred Oct 2025
1,852 followers · starred Oct 2025