The Amazon Price Alert project is a Python script designed to monitor the price of a specific product on Amazon. When the price falls below a predetermined threshold, the script automatically sends an email alert to the user. This utility is particularly useful for tracking price drops on desired products, enabling users to make timely purchases at the best possible price.
The primary goal of this project is to automate the process of tracking a product's price on Amazon and to notify the user promptly when the product is available at a lower price.
Regularly checking the price of a product can be tedious and time-consuming. This project simplifies the process by automating the price tracking and notification procedure, ensuring that users don't miss out on potential savings.
requests
and BeautifulSoup
to scrape the product's current price from the Amazon webpage.requests
: For sending HTTP requests to the Amazon product page.BeautifulSoup
from bs4
: For parsing HTML and extracting the necessary data (product price and title).lxml
: Used as a parser for BeautifulSoup.smtplib
: For sending the email alert.URL
, BUY_PRICE
, YOUR_SMTP_ADDRESS
, YOUR_EMAIL
, and YOUR_PASSWORD
with your desired product URL, price threshold, SMTP server address, and email credentials.This project is intended for educational purposes. Be aware of Amazon's terms of service regarding web scraping.
Happy Savings!