3 ms·
shot-scraper is terrific, thank you! Right now I'm using a bash script instead of YAML file for screenshotting multiple sites I maintain, as there is no option
by dotancohen 5y ago
shot-scraper is terrific, thank you!
Right now I'm using a bash script instead of YAML file for screenshotting multiple sites I maintain, as there is no option to add a timestamp to the filenames, something like this (simplified):
declare -A capture
capture[www.foo.com]=https://www.foo.com/
capture[www.foo.com-bar]=https://www.foo.com/bar
for key in "${!capture[@]}" ; do
shot-scraper ${capture[$key]} -o - > $key_$(date +"%Y-%m-%d_%H_%M")
done
Otherwise it is a terrific tool, able to screenshot websites that are otherwise very difficult due to CDNs, javascript, etc. Thank you very much!