vue-seo-phantomjs icon indicating copy to clipboard operation
vue-seo-phantomjs copied to clipboard

vue seo phantomjs方案

Results 7 vue-seo-phantomjs issues
Sort by recently updated
recently updated
newest added

在Centos7下按照文档安装了PM2,Phantomjs,执行测试命令:$ phantomjs spider.js 'https://www.baidu.com/'也成功获取到响应内容,但是配置Nginx后利用浏览器手动设置user-agent访问会报错:加载失败。 查看PM2的log文件,在模拟爬虫访问的时候会报错,浏览器正常访问没问题。 log日志如下: ![20211020010122](https://user-images.githubusercontent.com/36561218/137957609-4ff726d0-ff97-4da0-8801-eaa81ddca62e.png)

根本不能获取加载渲染后的页面,请问你们怎么做到的

``` shell $ phantomjs spider.js "https://www.baidu.com/" ``` 如果在windows下需要双引号