jprichardson / jprichardson/node-google
Include body in response?
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 456
- Forks
- 115
- PR merge metrics
- No merged PRs in 30d
Description
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!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the callback calls around lines 74 and 76 in the module, and review how search results and errors are currently returned. Decide on a consistent way for callers to receive the page body or response while preserving the existing callback contract; the request is done when scraping callers can access that content.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100