0.6.0 • Published 7 years ago

@sadorlovsky/google-search-parser v0.6.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 years ago

google-search-parser Build Status

grab urls from google search page

Install

via npm

$ npm install -g @sadorlovsky/google-search-parser

or via yarn

$ yarn global add @sadorlovsky/google-search-parser

CLI

$ google-search-parser "nightmare async example"

Options

pages - pages count, default: 1

$ google-search-parser "nightmare async example" --pages 2

show - show browser window

$ google-search-parser "nightmare async example" --pages 2 --show

dev - show devtools

$ google-search-parser "nightmare async example" --pages 2 --show --dev

proxy - set an http proxy

$ google-search-parser "nightmare.js" --proxy "localhost:8000"

timeout - set a timeout, default: 1000

$ google-search-parser "nightmare.js" --proxy "localhost:8000" --timeout 3000

json - output in JSON format

$ google-search-parser "nightmare.js" --json > nightmare.json

Node.js

import parser from '@sadorlovsky/google-search-parser'

parser('nightmare async example', {
  pages: 2,
  show: true,
  dev: true,
  proxy: 'localhost:8000',
  timeout: 3000
}).then(res => console.log(res))

License

MIT © Zach Orlovsky

0.6.0

7 years ago

0.5.0

7 years ago

0.4.0

7 years ago

0.3.0

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago