Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.rst
Octocat-spinner-32 example-output.pdf
Octocat-spinner-32 example-output.png
Octocat-spinner-32 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.