Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
[experiment] a tool to take screenshots of websites to png and pdf using pygtk and python-webkit
Python
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
README.rst
example-output.pdf
example-output.png
webshot.py

README.rst

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

Something went wrong with that request. Please try again.