Webkit2 engine does not exist anymore in phantomas 1.14
This commit is contained in:
@@ -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
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user