Skip to content

ellenandersson/Python-shopping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Shopping Bot

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.

Project Structure

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

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/python-shopping-bot.git
    cd python-shopping-bot
    
  2. Install the required dependencies:

    pip install -r requirements.txt
    

Usage

  1. Configure the bot settings in src/config.py with the necessary URLs and credentials.
  2. Run the bot using:
    python src/main.py
    

Contributing

Feel free to submit issues or pull requests for improvements or bug fixes.

License

This project is licensed under the MIT License.

About

Shop a bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages