lbdremy/scrapinode — Issue #16: Scrapinode crash if body is empty
Author: lbdremy
Created: 2012-02-02 09:48:19+00:00
State: open

```
/home/lbdremy/workspace/nodejs/hippo/node_modules/scrapinode/node_modules/jsdom/lib/jsdom.js:354
throw new Error("jsdom.env requires a '" + req + "' argument");
^
Error: jsdom.env requires a 'html' argument
at /home/lbdremy/workspace/nodejs/hippo/node_modules/scrapinode/node_modules/jsdom/lib/jsdom.js:354:13
at Array.forEach (native)
at Function.processArguments (/home/lbdremy/workspace/nodejs/hippo/node_modules/scrapinode/node_modules/jsdom/lib/jsdom.js:351:12)
at Object.env (/home/lbdremy/workspace/nodejs/hippo/node_modules/scrapinode/node_modules/jsdom/lib/jsdom.js:142:29)
at Request.onend [as _callback] (/home/lbdremy/workspace/nodejs/hippo/node_modules/scrapinode/lib/browser/browser-load.js:45:19)
at Request.callback (/home/lbdremy/workspace/nodejs/hippo/node_modules/scrapinode/node_modules/request/main.js:109:22)
at Request. (/home/lbdremy/workspace/nodejs/hippo/node_modules/scrapinode/node_modules/request/main.js:481:18)
at Request.emit (events.js:64:17)
at IncomingMessage. (/home/lbdremy/workspace/nodejs/hippo/node_modules/scrapinode/node_modules/request/main.js:442:16)
at IncomingMessage.emit (events.js:81:20)

```