webshot

[experiment] a tool to take screenshots of websites to png and pdf using pygtk and python-webkit

Stars
52

webshot

a tool to take screenshots of websites and save them to png or pdf

Status


this was a nice experiment with gtk/webkit it works but there are better alternatives, if you want to extend it fork it and send pull requests

Requires

python, pygtk and python-webkit

Usage


run it providing the url::

        python webshot.py http://marianoguerra.github.com/pepete/show.html#webshot.json

while navigating you can use the following keyboard shortcuts

f11
        toggle fullscreen
ctrl+p
        save to pdf
ctrl+s
        save to png
esc
        close

Example Output

See example-output.png and example-output.pdf for examples of the resulting screenshots