DEPRECATED

WebScrapper OLX

This is a simple WebScrapper that use Node and MongoDb Just working on the olx brasil website. (https://www.olx.com.br)

How to Use

Installation

git clone {thisRepositoryLink}
cd {thisRepositoryFolder}
npm install

Scrapping just first Page

node . 

or

node index 

Scrapping Per Page

node perPage

Total pages will be configured on the file config.json in the JsonProperty: pagesToSearchData

Flow

  • First will find all data on the page
  • Will format the data and populate the model OLXModel
  • If it's the first time that data was scrapped, will send a message on Discord and save the OlxID on MongoDb
  • If already exist, will skip for the next.