horseman-article-parser
Advanced tools
Comparing version 0.1.0 to 0.1.1
10
index.js
@@ -37,9 +37,13 @@ var phantomjs = require('phantomjs-prebuilt') | ||
if (typeof options.horseman === 'undefined') { | ||
options.horsman = { | ||
options.horseman = { | ||
timeout: 10000, | ||
cookies: './cookies.json' | ||
} | ||
} else if (typeof options.horseman.phantomPath === 'undefined') { | ||
} | ||
if (typeof options.horseman.phantomPath === 'undefined') { | ||
options.horseman.phantomPath = phantomjs.path | ||
} else if (typeof options.userAgent === 'undefined') { | ||
} | ||
if (typeof options.userAgent === 'undefined') { | ||
options.userAgent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36' | ||
@@ -46,0 +50,0 @@ } |
{ | ||
"name": "horseman-article-parser", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Web Page Inspection Tool. Sentiment Analysis, Keyword Extraction, Named Entity Recognition & Spell Check", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
463
123520