Google和Facebook如何实现和创建预览链接功能? [英] How do Google and Facebook implement and create the preview link functionality?

查看:166
本文介绍了Google和Facebook如何实现和创建预览链接功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谷歌,Facebook和其他一些人现在都有预览链接功能,您可以在其中查看网站主页的屏幕截图。有什么建议我怎么能做到这一点?



具体来说,我希望能够获取截图(iPhone屏幕截图),并将其作为jpg或png等图像提供。



如果可能,我想从python中做到这一点。

解决方案

我们'重新使用 Bluga 服务,它不是太广泛,而且很容易实现。如果您不喜欢还有许多其他可用服务


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.

解决方案

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.

这篇关于Google和Facebook如何实现和创建预览链接功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆