0.10
- New
-b/--browser
option for theshot-scraper install
,shot
,multi
andjavascript
commands. This can be used to install and run alternative browsersfirefox
,chrome
orchrome-beta
. Thanks, Ben Welsh. #53 - New
--timeout
option forshot-scraper shot
andshot-scraper multi
. Thanks, Ben Welsh. #47 shot-scraper multi
now continues to create other shots despite a timeout error, unless--fail-on-error
is passed. Thanks, Ryan Cheley. #50- README now describes the
async () => { ... }
pattern forshot-scraper javascript
, as discussed in Extracting web page content using Readability.js and shot-scraper. - New demo: shot-scraper-template, which lets you setup shot-scraper running in a GitHub repository in a single click. See also Instantly create a GitHub repository to take screenshots of a web page.
- New scraping demo: scrape-hacker-news-by-domain uses
shot-scraper javascript
to scrape a web page. See Scraping web pages from the command-line with shot-scraper.