Search code examples
pythonimagewebpage-screenshot

How do Google and Facebook implement and create the preview link functionality?


Google, Facebook and some others now have a preview link functionality where you can view a "screenshot" of say a website's home page. Are there any suggestions how I can achieve this?

Specifically I'd like to be able to grab a screenshot (a la iPhone screen shot) and make it available as an image such as a jpg or png.

I want to do this from python if possible.


Solution

  • We're using the service Bluga, it's not too expansive and is pretty easy to implement. If you don't like that there are many other services available.