node-google
node-google copied to clipboard
Include body in response?
Hi, is possible return also de body of the page, to do more scraping? like get the content on the left of the page of google? can be done easly changing:
callback(null, nextFunc, links, body); //in line 74
callback(new Error('E......dy), null, null, null); // in line 76
Or add a object that include body & response
Cheers, and great job!
Hmm, I like the idea of returning body and response...
+1, this would be very useful since people will probably need to perform duplicate requests without it.
getting the body will also help us get the "Did you mean" spelling check results in case the string has typo.
+1
Sure. PR welcomed :)
Provided what I think is a more solid approach on https://github.com/jprichardson/node-google/issues/10#issuecomment-190263024
Proposed a solution, with docs and tests updated on #38