1.0.0 • Published 8 years ago

olx-searcher v1.0.0

Weekly downloads
6
License
-
Repository
github
Last release
8 years ago

OLX SCRAPPER

Installation

npm install olx-search

How to use

var OLX = require('olx-search');

const opts = {
  'url'      : 'https://guayas.olx.com.ec/nf/search/fiat%20uno/',
  'page'     : 1,
  'pages'    : 10
};

var olx = new OLX(opts);

olx.on('hit', function(hit) {
  console.log(hit);
});

olx.on('page', function(data) {
  console.log(data);
});

olx.start();

License

License This software is released under Apache License v2.