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.

0

1 Answer 1

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.

2
  • 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
    Commented Dec 13, 2017 at 17:13
  • it can do both if re-worked
    – user9447
    Commented Dec 13, 2017 at 17:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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