Webkit2 engine does not exist anymore in phantomas 1.14

This commit is contained in:
Gaël Métais
2016-03-20 14:55:19 +02:00
parent 5e37cf8224
commit 2aa9edeb8f
2 changed files with 1 additions and 6 deletions
-5
View File
@@ -118,11 +118,6 @@ var PhantomasWrapper = function() {
async.retry(triesNumber, function(cb) {
currentTry ++;
// Fix for https://github.com/gmetais/YellowLabTools/issues/114
if (currentTry === 2 && options.engine === 'webkit2') {
debug('Launching a second try with the old webkit v1 engine');
options.engine = 'webkit';
}
var process = phantomas(task.url, options, function(err, json, results) {
var errorCode = err ? parseInt(err.message, 10) : null;
+1 -1
View File
@@ -45,7 +45,7 @@
"meow": "3.6.0",
"minimize": "1.7.4",
"parse-color": "1.0.0",
"phantomas": "1.14.0",
"phantomas": "git://github.com/gmetais/phantomas.git#fix-about-blank",
"ps-node": "0.0.5",
"q": "1.4.1",
"request": "2.67.0",