$ git clone https://github.com/imSaharukh/otomoto-scraper.git
$ yarn install
# watch mode
$ yarn run start:dev
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 |