- Create database
scraperdb
on your MySQL database server and importscraperdb.sql
file. Modify mysql config on lazada.js based on your own configuration - Open terminal, go to project directory /simple-scraper/ then type command
npm install
- Run scrap content by type command
node lazada.js
, and the content will be saved on your mysql database.