A Python price monitor
This project was focused on Brazil, so the monitoring is of "Mercado Livre" product prices
How to use?
-
Follow this "template":
python main.py --to-email [email protected] --product-url https://mercadolivreurl.com --target-price 2000 --from-email [email protected] --from-email-password password
-
Some explanations:
- --to-email: Email that you will receive the notifications
- --product-url: The Mercado Livre product URL, like: https://www.mercadolivre.com.br/samsung-galaxy-a32-dual-sim-128-gb-azul-4-gb-ram/p/MLB17465173?pdp_filters=category:MLB1055#searchVariation=MLB17465173&position=1&search_layout=stack&type=product&tracking_id=0acc80d9-4ebd-4304-9fce-ba94cd1f06ad
- --target-price: From the price you want be notified
- --from-email: Email that will send you the notifications
- --from-email-password: Password for the email that will send the notifications (Important: In gmail you need to activate the access to less secure apps)
-
Constant monitoring:
- Use something like crontab or a 24/7 server
-
Installation:
-
Dependecies:
- Beautiful Soup:
pip install bs4
- Requests:
pip install requests
- Typer:
pip install typer
- Beautiful Soup:
-
git clone https://github.com/OrlatoDev/py-price-monitoring.git
-
cd py-price-monitoring
-
python ./main.py
and follow the "template"
-