3

Is there an automatic tool that can crawl a live site and generate both a visual sitemap and single-page screenshots?

I tried searching around and all I can find is Powermapper and Slickplan but those don't take screenshots. I am on a Mac.

7

If you're not afraid of coding you can do this with Python:

import gtk.gdk

w = gtk.gdk.get_default_root_window()
sz = w.get_size()
print "The size of the window is %d x %d" % sz
pb = gtk.gdk.Pixbuf(gtk.gdk.COLORSPACE_RGB,False,8,sz[0],sz[1])
pb = pb.get_from_drawable(w,w.get_colormap(),0,0,0,0,sz[0],sz[1])
if (pb != None):
    pb.save("screenshot.png","png")
    print "Screenshot saved to screenshot.png."
else:
    print "Unable to get the screenshot."

Reference: Python: Taking a screenshot

If you're on a Mac you could do this with AppleScript:

tell application "Safari"
   activate
   set winID to id of window 1
end tell

do shell script "screencapture -c -x -l " & winID

Reference: Applescript - Take Screenshot of ENTIRE Web Page - Safari

If Python isn't your flavor then you could do this with wget and there's a good gist write up: "Use wget to mirror a single page and its visible dependencies (images, styles)"

As far as an application I'm not aware I just do mine in the terminal but if I happen to be browsing and I like a site that gives me ideas on another way I could build something I use Awesome Screenshot for Chrome.

  • Thanks for your answer! But would this method show me the connection between the screens or just take screenshots of the whole site? – Vero Lch Dec 13 '17 at 17:13
  • it can do both if re-worked – DᴀʀᴛʜVᴀᴅᴇʀ Dec 13 '17 at 17:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.