Run npm i to install dependencies
npm iYou can run script with your values like that:
node index.js [link] [region] [id](optional)example:
node index.js https://www.vprok.ru/product/domik-v-derevne-dom-v-der-moloko-ster-3-2-950g--309202 "Санкт-Петербург и область"Or run script.sh to run several scripts:
bash script.shResults of running script.sh are zipped in separed archives in results folder.
Data about regions and selectors for product info are stored in config.json so you can quickly change it if needed.
That config is based on data found while inspecting DOM and Network of product page.
