4

网页截图API - 免费网页在线截图,自动生成缩略图

 2 years ago
source link: https://www.fly63.com/article/detial/11083
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
更新日期: 2022-01-28阅读量: 390标签: 截图分享

扫一扫分享

在开发中需要对某个网站进行自动截图,然后保存到服务器的操作,自己写一个截图功能太浪费时间,推荐大家使用下面几种免费的网页截图接口网站来完成,简单快捷,同时也可以直接在img标签中使用。

1、urlscan.io

使用方法:

https://urlscan.io/liveshot/?width=宽度&height=高度&url=网址

例如:https://urlscan.io/liveshot/?width=600&height=400&url=https://www.fly63.com/

2、wordpress

国内速度比较快的一款.

使用方法:

https://s0.wp.com/mshots/v1/网址?w=宽度&h=高度

例如:https://s0.wp.com/mshots/v1/https://www.fly63.com/?w=600&h=400

3、screenshotmaster

网页截屏大师使用真正的Chrome浏览器捕捉像素完美的屏幕截图,我们的核心服务托管在阿里云与腾讯云之上,API天然分布式、高可用。使用方法:

https://www.screenshotmaster.com/api/v1/screenshot?url=需要截图的URL&token=您的API token&width=宽度&height=高度

该方式需要去官网申请API token。

站长推荐

1.云服务推荐: 国内主流云服务商/虚拟空间,各类云产品的最新活动,优惠券领取。领取地址:阿里云腾讯云硅云

链接: https://www.fly63.com/article/detial/11083


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK