From d84b831922cd574d6961c75e3b6c38ebabd3b8df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Wed, 19 Nov 2014 19:33:48 +0100 Subject: [PATCH] #1 Change user agent to simulate Chrome --- app/lib/phantomasWrapper.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/lib/phantomasWrapper.js b/app/lib/phantomasWrapper.js index 98ebeaf..cadb516 100644 --- a/app/lib/phantomasWrapper.js +++ b/app/lib/phantomasWrapper.js @@ -22,6 +22,7 @@ var PhantomasWrapper = function() { // Cusomizable options timeout: task.options.timeout || 60, 'js-deep-analysis': task.options.jsDeepAnalysis || false, + 'user-agent': 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36', // Mandatory reporter: 'json:pretty',