Search code examples
phppythondjangourlscreenshot

Convert URL to screenshot (script)


There is the URL of page on the Internet. I need to get a screenshot of this page (no matter in which browser).

I need a script (PHP, Python (even Django framework)) that receives the URL (string) and output screenshot-file at the exit (file gif, png, jpg).

UPD:

I need dynamically create a page where opposite to URL will be placed screenshot of the page with the same URL.


Solution

  • Why do you need a script when you can use a service from another site?
    Check for example what I am using: WebSnapr http://www.websnapr.com/
    Or check http://www.google.ro/search?ie=UTF-8&q=website+thumbnail if something else fits your request.