This is a simple tool for tracking stock availability at Best Buy. Follow the steps below to set it up and start using it.
Install the necessary Python packages by running the command below in your terminal:
pip install -r requirements.txt
playwright install
You need to set up your email client by exporting your email address and app password as environment variables. Replace and with your actual email and password:
export bbstockemail=<your-email>
export bbstockpass=<your-email-app-password>
To run the tool, use the command below:
python main.py
After running the command, you will be prompted to:
- Specify the item URL
- Specify the email to which the in-stock notification will be sent
- Specify a short description for the email subject line