This project uses Puppeteer and Node.js to automate and simulate the use of e-commerce platforms.
To get a local copy up and running follow these simple steps.
git clone https://github.com/Nasko9/e-commerce-website-scripting
cd e-commerce-website-scripting
npm install
Before you begin, ensure you have the following environment variables set up in a .env
file:
Here's a quick start guide:
npm start
During the development of this project, we assumed:
- Users have a basic understanding of Node.js and Puppeteer.
- The structure of the target website doesn't change frequently.
Throughout the development process, we encountered several challenges:
- Dynamic Content: Dealing with AJAX-loaded content required implementing custom wait strategies.
- CAPTCHAs and Rate Limits: Overcoming site protections involved using strategies like rotating user agents.
This project is licensed under the MIT License - see the LICENSE file for details.
- LinkedIn - Miloš Nasković