This project is a Python-based shopping bot that automates the process of purchasing items from a specified website. It includes functionalities for logging in, searching for items, adding them to the cart, and checking out.
python-shopping-bot
├── src
│ ├── main.py # Entry point of the application
│ ├── bot.py # Contains the ShoppingBot class
│ ├── config.py # Configuration settings
│ └── utils
│ ├── __init__.py # Utils package initializer
│ └── helpers.py # Utility functions for HTTP requests
├── tests
│ ├── __init__.py # Tests package initializer
│ └── test_bot.py # Unit tests for ShoppingBot
├── requirements.txt # Project dependencies
└── README.md # Project documentation
-
Clone the repository:
git clone https://github.com/yourusername/python-shopping-bot.git cd python-shopping-bot
-
Install the required dependencies:
pip install -r requirements.txt
- Configure the bot settings in
src/config.py
with the necessary URLs and credentials. - Run the bot using:
python src/main.py
Feel free to submit issues or pull requests for improvements or bug fixes.
This project is licensed under the MIT License.