Comments (6)
有个debug的参数,开启一下,然后看一下输出信息
from querylist.
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" 看到这个错误不知道怎么形成的
from querylist.
2018-10-29T14:50:59 [DEBUG] Set "http" proxy to: "" : 1080
2018-10-29T14:50:59 [DEBUG] Phantom - execute: Configuration
2018-10-29T14:50:59 [DEBUG] 0 objectName : ""
2018-10-29T14:50:59 [DEBUG] 1 cookiesFile : ""
2018-10-29T14:50:59 [DEBUG] 2 diskCacheEnabled : "false"
2018-10-29T14:50:59 [DEBUG] 3 maxDiskCacheSize : "-1"
2018-10-29T14:50:59 [DEBUG] 4 diskCachePath : ""
2018-10-29T14:50:59 [DEBUG] 5 ignoreSslErrors : "true"
2018-10-29T14:50:59 [DEBUG] 6 localUrlAccessEnabled : "true"
2018-10-29T14:50:59 [DEBUG] 7 localToRemoteUrlAccessEnabled : "false"
2018-10-29T14:50:59 [DEBUG] 8 outputEncoding : "UTF-8"
2018-10-29T14:50:59 [DEBUG] 9 proxyType : "http"
2018-10-29T14:50:59 [DEBUG] 10 proxy : ":1080"
2018-10-29T14:50:59 [DEBUG] 11 proxyAuth : ":"
2018-10-29T14:50:59 [DEBUG] 12 scriptEncoding : "UTF-8"
2018-10-29T14:50:59 [DEBUG] 13 webSecurityEnabled : "true"
2018-10-29T14:50:59 [DEBUG] 14 offlineStoragePath : ""
2018-10-29T14:50:59 [DEBUG] 15 localStoragePath : ""
2018-10-29T14:50:59 [DEBUG] 16 localStorageDefaultQuota : "-1"
2018-10-29T14:50:59 [DEBUG] 17 offlineStorageDefaultQuota : "-1"
2018-10-29T14:50:59 [DEBUG] 18 printDebugMessages : "true"
2018-10-29T14:50:59 [DEBUG] 19 javascriptCanOpenWindows : "true"
2018-10-29T14:50:59 [DEBUG] 20 javascriptCanCloseWindows : "true"
2018-10-29T14:50:59 [DEBUG] 21 sslProtocol : "default"
2018-10-29T14:50:59 [DEBUG] 22 sslCiphers : "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-RC4-SHA:ECDHE-RSA-RC4-SHA:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:RC4-SHA:RC4-MD5"
2018-10-29T14:50:59 [DEBUG] 23 sslCertificatesPath : ""
2018-10-29T14:50:59 [DEBUG] 24 sslClientCertificateFile : ""
2018-10-29T14:50:59 [DEBUG] 25 sslClientKeyFile : ""
2018-10-29T14:50:59 [DEBUG] 26 sslClientKeyPassphrase : ""
2018-10-29T14:50:59 [DEBUG] 27 webdriver : ":"
2018-10-29T14:50:59 [DEBUG] 28 webdriverLogFile : ""
2018-10-29T14:50:59 [DEBUG] 29 webdriverLogLevel : "INFO"
2018-10-29T14:50:59 [DEBUG] 30 webdriverSeleniumGridHub : ""
2018-10-29T14:50:59 [DEBUG] Phantom - execute: Script & Arguments
2018-10-29T14:50:59 [DEBUG] script: "/tmp/6502b9c26b2c19818a9c"
2018-10-29T14:50:59 [DEBUG] Phantom - execute: Starting normal mode
2018-10-29T14:50:59 [DEBUG] WebPage - setupFrame ""
2018-10-29T14:50:59 [DEBUG] FileSystem - _open: ":/modules/fs.js" QMap(("mode", QVariant(QString, "r")))
2018-10-29T14:50:59 [DEBUG] FileSystem - _open: ":/modules/system.js" QMap(("mode", QVariant(QString, "r")))
2018-10-29T14:50:59 [DEBUG] FileSystem - _open: ":/modules/webpage.js" QMap(("mode", QVariant(QString, "r")))
2018-10-29T14:50:59 [DEBUG] WebPage - updateLoadingProgress: 10
2018-10-29T14:50:59 [DEBUG] CookieJar - Saved "locale=en; domain=flight.tuniu.com; path=/"
2018-10-29T14:50:59 [DEBUG] CookieJar - Saved "connect.sid=s%3Ak-90KEltVHlNuPONge8Xfj4fiGhDBC6m.v4fyrjd%2B3QdD0DhWhxZrb3ifuyyvuSEuhlhxwd6jJPI; HttpOnly; domain=flight.tuniu.com; path=/"
2018-10-29T14:51:00 [DEBUG] CookieJar - Saved "locale=en; domain=flight.tuniu.com; path=/"
2018-10-29T14:51:00 [DEBUG] CookieJar - Saved "connect.sid=s%3Ak-90KEltVHlNuPONge8Xfj4fiGhDBC6m.v4fyrjd%2B3QdD0DhWhxZrb3ifuyyvuSEuhlhxwd6jJPI; HttpOnly; domain=flight.tuniu.com; path=/"
2018-10-29T14:51:00 [DEBUG] CookieJar - Saved "connect.sid=s%3A7CfepSs2bhwUk0iyvtnp1KRZwEYFsENx.Kpv%2Be8i%2BeRFZ2ubWeWcTirEF2lbLt6sTGe52ytDrSQs; HttpOnly; domain=m.tuniu.com; path=/"
2018-10-29T14:51:00 [DEBUG] Network - Resource request error: QNetworkReply::NetworkError(RemoteHostClosedError) ( "Connection closed" ) URL: "https://m.tuniu.com/flight/domestic/list/CAN_WUH_ST_1_0_0?deptDate=2018-10-27&isGo=0"
2018-10-29T14:51:00 [DEBUG] CookieJar - Saved "connect.sid=s%3Ak-90KEltVHlNuPONge8Xfj4fiGhDBC6m.v4fyrjd%2B3QdD0DhWhxZrb3ifuyyvuSEuhlhxwd6jJPI; HttpOnly; domain=flight.tuniu.com; path=/"
2018-10-29T14:51:00 [DEBUG] CookieJar - Saved "connect.sid=s%3A7CfepSs2bhwUk0iyvtnp1KRZwEYFsENx.Kpv%2Be8i%2BeRFZ2ubWeWcTirEF2lbLt6sTGe52ytDrSQs; HttpOnly; domain=m.tuniu.com; path=/"
2018-10-29T14:51:00 [DEBUG] CookieJar - Saved "locale=en; domain=flight.tuniu.com; path=/"
2018-10-29T14:51:00 [DEBUG] Network - Resource request error: QNetworkReply::NetworkError(RemoteHostClosedError) ( "Connection closed" ) URL: "https://m.tuniu.com/flight/domestic/list/CAN_WUH_ST_1_0_0?deptDate=2018-10-27&isGo=0"
2018-10-29T14:51:00 [DEBUG] CookieJar - Saved "connect.sid=s%3Ak-90KEltVHlNuPONge8Xfj4fiGhDBC6m.v4fyrjd%2B3QdD0DhWhxZrb3ifuyyvuSEuhlhxwd6jJPI; HttpOnly; domain=flight.tuniu.com; path=/"
2018-10-29T14:51:00 [DEBUG] CookieJar - Saved "connect.sid=s%3A7CfepSs2bhwUk0iyvtnp1KRZwEYFsENx.Kpv%2Be8i%2BeRFZ2ubWeWcTirEF2lbLt6sTGe52ytDrSQs; HttpOnly; domain=m.tuniu.com; path=/"
2018-10-29T14:51:00 [DEBUG] CookieJar - Saved "locale=en; domain=flight.tuniu.com; path=/"
2018-10-29T14:51:00 [DEBUG] Network - Resource request error: QNetworkReply::NetworkError(RemoteHostClosedError) ( "Connection closed" ) URL: "https://m.tuniu.com/flight/domestic/list/CAN_WUH_ST_1_0_0?deptDate=2018-10-27&isGo=0"
2018-10-29T14:51:00 [DEBUG] CookieJar - Saved "connect.sid=s%3Ak-90KEltVHlNuPONge8Xfj4fiGhDBC6m.v4fyrjd%2B3QdD0DhWhxZrb3ifuyyvuSEuhlhxwd6jJPI; HttpOnly; domain=flight.tuniu.com; path=/"
2018-10-29T14:51:00 [DEBUG] CookieJar - Saved "connect.sid=s%3A7CfepSs2bhwUk0iyvtnp1KRZwEYFsENx.Kpv%2Be8i%2BeRFZ2ubWeWcTirEF2lbLt6sTGe52ytDrSQs; HttpOnly; domain=m.tuniu.com; path=/"
2018-10-29T14:51:00 [DEBUG] CookieJar - Saved "locale=en; domain=flight.tuniu.com; path=/"
2018-10-29T14:51:00 [DEBUG] Network - Resource request error: QNetworkReply::NetworkError(RemoteHostClosedError) ( "Connection closed" ) URL: "https://m.tuniu.com/flight/domestic/list/CAN_WUH_ST_1_0_0?deptDate=2018-10-27&isGo=0"
2018-10-29T14:51:00 [DEBUG] CookieJar - Saved "connect.sid=s%3Ak-90KEltVHlNuPONge8Xfj4fiGhDBC6m.v4fyrjd%2B3QdD0DhWhxZrb3ifuyyvuSEuhlhxwd6jJPI; HttpOnly; domain=flight.tuniu.com; path=/"
2018-10-29T14:51:00 [DEBUG] CookieJar - Saved "connect.sid=s%3A7CfepSs2bhwUk0iyvtnp1KRZwEYFsENx.Kpv%2Be8i%2BeRFZ2ubWeWcTirEF2lbLt6sTGe52ytDrSQs; HttpOnly; domain=m.tuniu.com; path=/"
2018-10-29T14:51:00 [DEBUG] CookieJar - Saved "locale=en; domain=flight.tuniu.com; path=/"
2018-10-29T14:51:01 [DEBUG] WebPage - updateLoadingProgress: 100
2018-10-29T14:51:01 [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:51:01 [WARNING] QNetworkReplyImplPrivate::error: Internal problem, this method must only be called once.
2018-10-29T14:51:01 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function () {\n \n var styles = {};\n \n for(var property in styles) {\n document.body.style[property] = styles[property];\n }\n})(); })()"
2018-10-29T14:51:01 [DEBUG] WebPage - setupFrame ""
2018-10-29T14:51:01 [DEBUG] WebPage - evaluateJavaScript result QVariant(Invalid)
\n2018-10-29T14:51:01 [DEBUG] WebPage - setupFrame ""
2018-10-29T14:51:01 [DEBUG] WebPage - updateLoadingProgress: 10
2018-10-29T14:51:01 [DEBUG] WebPage - setupFrame ""
2018-10-29T14:51:01 [DEBUG] WebPage - updateLoadingProgress: 100
2018-10-29T14:51:01 [DEBUG] WebPage - setupFrame ""
2018-10-29T14:51:01 [DEBUG] FileSystem - _open: ":/modules/fs.js" QMap(("mode", QVariant(QString, "r")))
2018-10-29T14:51:01 [DEBUG] FileSystem - _open: ":/modules/system.js" QMap(("mode", QVariant(QString, "r")))
2018-10-29T14:51:01 [DEBUG] FileSystem - _open: ":/modules/webpage.js" QMap(("mode", QVariant(QString, "r")))
2018-10-29T14:51:01 [DEBUG] WebPage - updateLoadingProgress: 10
2018-10-29T14:51:01 [DEBUG] WebPage - setupFrame ""
2018-10-29T14:51:01 [DEBUG] FileSystem - _open: ":/modules/fs.js" QMap(("mode", QVariant(QString, "r")))
2018-10-29T14:51:01 [DEBUG] FileSystem - _open: ":/modules/system.js" QMap(("mode", QVariant(QString, "r")))
2018-10-29T14:51:01 [DEBUG] FileSystem - _open: ":/modules/webpage.js" QMap(("mode", QVariant(QString, "r")))
2018-10-29T14:51:01 [DEBUG] WebPage - updateLoadingProgress: 100
2018-10-29T14:51:01 [DEBUG] WebPage - setupFrame ""
2018-10-29T14:51:01 [DEBUG] CookieJar - Purged (session) "locale=en; domain=flight.tuniu.com; path=/"
2018-10-29T14:51:01 [DEBUG] CookieJar - Purged (session) "connect.sid=s%3A7CfepSs2bhwUk0iyvtnp1KRZwEYFsENx.Kpv%2Be8i%2BeRFZ2ubWeWcTirEF2lbLt6sTGe52ytDrSQs; HttpOnly; domain=m.tuniu.com; path=/"
2018-10-29T14:51:01 [DEBUG] CookieJar - Purged (session) "connect.sid=s%3Ak-90KEltVHlNuPONge8Xfj4fiGhDBC6m.v4fyrjd%2B3QdD0DhWhxZrb3ifuyyvuSEuhlhxwd6jJPI; HttpOnly; domain=flight.tuniu.com; path=/"
from querylist.
看报错信息猜测可能是你服务器上无法访问目标网址
from querylist.
直接用curl 或者get 方法可以正常访问就是获取不到异步数据而已
from querylist.
发现在linux 系统直接用火狐或者谷歌浏览器都打不开途牛的机票页面
from querylist.
Related Issues (20)
- Add support laravel 9 HOT 5
- 啥时候能支持laravel9 HOT 1
- Fatal error: Uncaught TypeError: Argument 1 passed to QL\Services\MultiRequestService::QL\Services\{closure}() must be an instance of GuzzleHttp\Exception\RequestException, instance of GuzzleHttp\Exception\ConnectException given HOT 3
- 希望支持一下laravel9&&php8+ HOT 4
- 期望实现devtools-protocol,就能和puppeteer一样愉快的使用了 HOT 1
- 依赖库 pguardiario/phpuri 已被删除
- PHP7.4环境代码执行结果与预期不一致! HOT 3
- 使用【Baidu 插件】返回 百度安全验证 网络不给力,请稍后重试 返回首页 问题反馈 HOT 1
- 希望支持php8.0/laravel 9 HOT 2
- The domain querylist.cc is expired,please fix it
- 什么时候支持php8啊,已经在用8.2了,马上都出8.3了 HOT 4
- php8.1 fixes - Cannot push my branch
- QueryList4.2.8列表采集,不能正常执行 HOT 1
- 能否兼容 guzzlehttp/guzzle 升级 HOT 1
- 突然提示 Package tightenco/collect is abandoned, 能否升级一下呢? HOT 1
- thinkphp8框架 HOT 6
- 难道你们都没有这个致命错误? HOT 6
- 为什么经常有这种错误 HOT 2
- 版本依赖有问题 HOT 6
- laravel 9.19版本安装composer require jaeger/querylist 出现版本冲突 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from querylist.