Created
August 6, 2014 16:12
-
-
Save connormckelvey/97d56bed872ecaa6ea00 to your computer and use it in GitHub Desktop.
Take Screenshots of Website
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 | |
PAGES=("http://www.example.com/" | |
"http://www.example.com/about.aspx" | |
"http://www.example.com/blog/" | |
"http://www.example.com/blog/?page=1") | |
for ((i = 0; i < ${#PAGES[@]}; i++)) | |
do | |
webkit2png ${PAGES[$i]} --fullsize | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
then run sh gistfile1.sh