Node.js script that searches the SAQ page and returns all existing bottles of wine.
If you want to start from scratch , follow these steps :
Run de command
npm init -y
- create index.js file
npm i puppeteer
npm install node-fetch
- Go to package.json and add "type": "module", to be able to import modules without require
If you want to clone the project , follow these steps :
Make sure you have the latest version of node js installed (https://nodejs.org/en)
First, clone the repository on your local machine. Open a terminal and run the following command, replacing url-of-repository with the URL of the repository you want to clone:
execute in terminal:
git clone project_url
Once cloned, change the directory to the project by running the following command:
cd project_name
Install the project dependencies using NPM.
npm install
Run the command
node scrapingderniere.js
