---
title: "Discussion on \"Track competitor prices daily with Python\" | Hashnode"
description: "Discussion on \"Track competitor prices daily with Python\". A daily price tracker in about forty lines of Python: prices as numbers, each run compared with the last, blocked pages never counted as a change."
url: "https://hashnode.com/posts/track-competitor-prices-python/6b0007b78fdbd343c6b6804e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Track competitor prices daily with Python](https://sidmishra.hashnode.dev/track-competitor-prices-python?utm_source=hashnode&utm_medium=feed)

A daily price tracker in about forty lines of Python: prices as numbers, each run compared with the last, blocked pages never counted as a change.

4d ago · 10 min read · sidmishra.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#web-scraping](https://hashnode.com/tag/web-scraping)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#ecommerce](https://hashnode.com/tag/ecommerce)
-   [#automation](https://hashnode.com/tag/automation)

## Written by

[Sid Mishra](https://hashnode.com/@sid-mishra)

@sid-mishra

  
[View profile](https://hashnode.com/@sid-mishra)

Web scraping and data infrastructure for AI.

## Responses 1

Markdown supported · ⌘↵ to post

[StealProfit](https://hashnode.com/@stealprofit)

[1d ago](https://hashnode.com/posts/track-competitor-prices-python/6b0007b78fdbd343c6b6804e/comment/6b0381ca16c3467a2571c96c)

Nice, treating a blocked page as "no change" instead of a price drop is a detail a lot of trackers miss. This is handy for Black Friday too: a fake "50% off" usually shows up when the list price quietly jumps first. I'd love to see this log the was-price as well as the sale price. For reference, a Logitech G502 HERO is $29.99 on Amazon today against a $69.99 list price. Are you storing history in SQLite or a flat file?
