Comments (6)
Should be possible with a few more cheerio calls. I'll accept pull requests in this respect. Though for backward compatibility the callback signature would ideally be updated in this way :
scraper.search(options, function(err, url, meta) {
if(err) throw err;
console.log(meta);
});
meta
being an object containing the title, desc, date, ... properties.
from node-google-search-scraper.
Would be nice to have the total number of results per specific query as well.
from node-google-search-scraper.
In my opinion the number of search results, being an approximation and having no relation to actually retrievable results, doesn't add much value. But i guess is could be easily extracted and output on stderr, so as not to clobber the results output.
from node-google-search-scraper.
Personally, would really benefit from this feature being in place! Thanks mnazwan for opening the enhancement!
from node-google-search-scraper.
Merged and published to npm.
from node-google-search-scraper.
Works great, thanks so much!
from node-google-search-scraper.
Related Issues (16)
- How would you use multiple keywords? HOT 1
- Do something when full search is done HOT 3
- How to use with proxy?
- Exception met with certain queries HOT 3
- Error: getaddrinfo ENOTFOUND www.google.comundefined www.google.comundefined:443 HOT 2
- url.js:103 throw new TypeError('Parameter "url" must be a string, not ' + typeof url); ^ TypeError: Parameter "url" must be a string, not undefined at Url.parse (url.js:103:11) HOT 1
- TypeError: Parameter "url" must be a string, not undefined
- How would you combing all the URLs in a single array? HOT 1
- Umlauts are not supported
- Error: getaddrinfo ENOTFOUND www.google.com HOT 2
- not working HOT 2
- Captcha decoding not working HOT 8
- limit not working HOT 4
- How to get multiple results? HOT 1
- is the min limit 10? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-google-search-scraper.