使用 phantomjs 进行网页截图
sudo docker run --rm -ti -p 7001:7001 phyng/screenshot
http://localhost:7001/screenshot?url=http://www.163.com
http://localhost:7001/screenshot?url=http://www.163.com&format=jpeg&quality=90
返回 Base64 编码的图片
http://localhost:7001/screenshot?url=http://www.163.com&output=json
Content type
Image
Digest
Size
486.6 MB
Last updated
over 10 years ago
docker pull phyng/screenshot