做了个截取网页图片的 API, 大家一起来玩玩, 看看有没有什么问题.
用法
浏览器访问, 或者curl
https://webpageshot.moyuta.com/shot?url=https://youtube.com&delay=3000
参数
字段 | 说明 |
---|---|
url | 截图的地址 |
delay | 页面加载完成后延毫秒 |
width | 窗口宽度 |
height | 窗口高度 |
full_page | true/false 截取整个网页 |
user_agent | 自定义 user agent |
proxy | 通过代理 |
https://webpageshot.moyuta.com/shot?url=https://nodeseek.com
https://webpageshot.moyuta.com/shot?url=https://nodeseek.com
论坛不能防止重复发帖吗
@zxxx #3
能啊,昨天还修过的,今天还有这问题吗?
@zxxx #1
这是nodeseek的cf规则拦截了吧
@酒神 #4 两贴差1秒
@C9H13NO3 #5
对,你发的链接我截到了
@zxxx #1
我改了, 加了proxy参数.
可以通过 http 代理访问, 避免 IP 拦截.
好一个实时图片
每次刷新都不一样
@C9H13NO3 #8
https://webpageshot.moyuta.com/shot?url=https://nodeseek.com
http://webpageshot.moyuta.com/shot?url=https://nodeseek.com
https://webpageshot.moyuta.com/shot?url=http://nodeseek.com
http://webpageshot.moyuta.com/shot?url=http://nodeseek.com
一样的,论坛BAN了你的IP吧