sudo yum install gcc gcc-c++ make git openssl-devel freetype-devel fontconfig-devel 
git clone git://github.com/ariya/phantomjs.git 
cd phantomjs 
git checkout 1.9 
./build.sh 

安装了一个多小时完成后输入phantomjs --version,显示-bash:phantomjs:command not found

建立符号链接
ln -s /usr/local/src/phantomjs/bin/phantomjs /usr/local/bin/
/usr/local/src/phantomjs/bin/phantomjs为你的安装路径


中文网页截图乱码:
http://www.cnblogs.com/walter371/p/5041020.html


http://www.cnblogs.com/lurenjiashuo/p/get-snapshot-and-create-thumbnail.html

[phantomjs]利用phantomjs+casperjs实现登陆抓取网页并截图_phantomjs


http://www.niubb.net/a/2015/05-01/345805.html


相关文章:

  • 2021-11-08
  • 2021-08-18
  • 2021-10-25
  • 2022-03-06
  • 2021-07-27
  • 2021-08-12
猜你喜欢
  • 2021-11-13
  • 2022-03-03
  • 2021-09-29
  • 2022-12-23
  • 2021-11-26
相关资源
相似解决方案