Giter VIP home page Giter VIP logo

Comments (6)

thibauts avatar thibauts commented on June 17, 2024

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.

teckays avatar teckays commented on June 17, 2024

Would be nice to have the total number of results per specific query as well.

from node-google-search-scraper.

thibauts avatar thibauts commented on June 17, 2024

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.

perryjm avatar perryjm commented on June 17, 2024

Personally, would really benefit from this feature being in place! Thanks mnazwan for opening the enhancement!

from node-google-search-scraper.

thibauts avatar thibauts commented on June 17, 2024

Merged and published to npm.

from node-google-search-scraper.

perryjm avatar perryjm commented on June 17, 2024

Works great, thanks so much!

from node-google-search-scraper.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.