Created
August 16, 2016 04:25
-
-
Save kurobeats/0e3dc8b13510957fa0dc1fdeea63f210 to your computer and use it in GitHub Desktop.
Simple screenshot script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| while read url | |
| do | |
| timeout 30 phantomjs --ignore-ssl-errors=true /usr/share/phantomjs/examples/rasterize.js "$url" "`echo $url | cut -d "/" -f3`.png" | |
| done < "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment