Linux下使用命令行获取网页截图
环境准备
Linxu系统
centos 7
Python Version
Python 2.7.5
Git Version
1.8.3.1
安装Python-webkit2png[Git地址]
git clone https://github.com/adamn/python-webkit2png.git
cd python-webkit2png
python setup.py install
安装PyQt4相关依赖(4.10.1-13.el7)
yum install PyQt4.x86_64
yum install PyQt4-devel.x86_64
yum