1.0.1 • Published 9 years ago

node-g-search v1.0.1

Weekly downloads
7
License
ISC
Repository
github
Last release
9 years ago

Node Google Search Crawler

Join the chat at https://gitter.im/LinZap/node-g-search

Node Google Search Crawler

Introduction

var g = require('./index.js');

g.search("bon jovi")
.then(function(d){
	
	if(d.data)
		for (var i = 0; i < d.data.length; i++) {
			console.log(d.data[i].title);
			console.log(d.data[i].href);
			console.log(d.data[i].des);
		}
})

Installation

npm install --save node-g-search

API

g.search(q[,page,retry])

g.searchAll(q,retry)

g.pg()