Skip to content

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

Notifications You must be signed in to change notification settings

marianoguerra/webshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages