扫码关注官方订阅号
就是想把某一个版本的页面给存档起来,包含当时的所有静态资源。我找了下网上关于快照的好像都只是把html存起来
走同样的路,发现不同的人生
使用 phantomjs
phantomjs
var page = require('webpage').create(); page.open('http://example.com', function () { page.render('example.png'); phantom.exit(); });
Ctrl+S不行吗?
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
扫描下载App
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
使用
phantomjs
Ctrl+S不行吗?