diff --git a/lib/tools/phantomas/phantomasWrapper.js b/lib/tools/phantomas/phantomasWrapper.js index 7d51542..4fc9e38 100644 --- a/lib/tools/phantomas/phantomasWrapper.js +++ b/lib/tools/phantomas/phantomasWrapper.js @@ -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; diff --git a/package.json b/package.json index e59029c..07c772a 100644 --- a/package.json +++ b/package.json @@ -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",