有没有一种方法可以通过URL自动拍摄网站的屏幕截图? [英] Is there a way to automatically take a screenshot of a website through a URL?

查看:462
本文介绍了有没有一种方法可以通过URL自动拍摄网站的屏幕截图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试找到一个PHP脚本(或其他语言的脚本),该脚本在传递URL后需要截取该URL的网站的屏幕截图.因此,例如,如果我通过stackoverflow.com,则应该对网站(在本例中为首页)进行截图,并将其保存在服务器上,并提供指向该图片的链接.

I am trying to find a PHP script (or a script in a different language) that after passing a URL, it takes a screenshot of the website for that URL. So for example if I pass stackoverflow.com, it should take a screen shot of the website (in this case the homepage), keep it on the server, and provide a link to that pic.

有一种简单的方法吗?

我知道这是有可能的,因为这就是例如Alexa网站缩略图的方式.

I know it is possible because that's how they take thumbnails for websites in Alexa for example.

如果您需要进一步解释我的意思,请发表评论,我会做更多解释.

If you need more explanation of what I mean please just post a comment and I will explain more.

谢谢:)

推荐答案

这是一个类似的问题:

也可以尝试 www.thumbshots.com .

这篇关于有没有一种方法可以通过URL自动拍摄网站的屏幕截图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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