OTOMOTO WEB SCRAPER

Installation

$ git clone https://github.com/imSaharukh/otomoto-scraper.git

Installation

$ yarn install

Running

# watch mode
$ yarn run start:dev

API end points

Method url Description live url
GET /scrape_data scrape all the ads of all pages, save to DB and return the result http://localhost:3000/scrape_data (may take a few minutes to get data)
GET /get_data_from_db get all the scraped ads from DB http://localhost:3000/get_data_from_db