-
-
Notifications
You must be signed in to change notification settings - Fork 443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用 PhantomJS 插件时在windows 下可以正常获取到信息,但是到了centos 后就获取不到信息 #52
Comments
有个debug的参数,开启一下,然后看一下输出信息 |
Network - Resource request error: QNetworkReply::NetworkError(OperationCanceledError) ( "Operation canceled" ) URL: "https://m.tuniu.com/flight/domestic/list/CAN_WUH_ST_1_0_0?deptDate=2018-10-27&isGo=0" 看到这个错误不知道怎么形成的 |
2018-10-29T14:50:59 [DEBUG] Set "http" proxy to: "" : 1080 |
看报错信息猜测可能是你服务器上无法访问目标网址 |
直接用curl 或者get 方法可以正常访问就是获取不到异步数据而已 |
发现在linux 系统直接用火狐或者谷歌浏览器都打不开途牛的机票页面 |
centos 下只返回:string(13) "" 一样的代码在Windows下就可以正常获取到数据
The text was updated successfully, but these errors were encountered: