Skip to content

Change Watcher

You'll replace a page you keep refreshing with a script that checks it for you and only speaks up when something changed.

About

Maybe it's a price, a permit page, a used bike listing or a campsite that's always booked. You refresh it every day and nothing happens. A watcher fetches it on a schedule, compares with last time, and messages you only when something changed. There are two traps: pages that change trivially on every load, and a watcher that dies silently so you think nothing has changed for a month.

At a glance

Per requirement
25 XP
Completion bonus
150 XP
Requirements
6
Takes
A weekend, then the wait
Skill level
Intermediate (months of practice)
Cost
Free
Supplies
Nothing special
Where
At home
Other people
On your own
Locked for now
Earn two more Common badges in Automation & Scripts to open this one. Log in to see how far along you are.

Requirements

  1. 1
    Pick a page or API you check by hand at least weekly, and fetch the one value you care about. Go for a price, an in-stock message, a date or a count, not the whole page. Pick something that changes at least monthly, or you'll wait all year for the last requirement. Take a screenshot of the value printed. Photo
  2. 2
    Store the last value and message yourself only when it differs. A text file holds the last value, and the script compares, notifies and overwrites. Notify by email, a chat bot, ntfy, Pushover or a phone shortcut. Change the stored value by hand to test it. Take a screenshot of the notification. Photo
  3. 3
    Ignore the noise: timestamps, ads and session tokens that change on every load. If it fires on every run, the comparison is too broad, so narrow it to the one field. Show one run where the page changed but your value didn't, and nothing fired. Take a screenshot of the log showing no alert. Photo
  4. 4
    Schedule it somewhere that runs when your laptop is closed, and keep the rate honest. Daily is enough for prices, and hourly is the most you should ever go. Respect robots.txt just like in the scraper badge. Take a screenshot of the schedule. Photo
  5. 5
    Add a heartbeat so you know the watcher itself is alive. One message a week that says it's still watching and when it last checked is enough. Silence should mean no change, not a dead script. Take a screenshot of a heartbeat message. Photo
  6. 6
    Show one real change it caught and what you did about it. The price dropped, the slot opened or the thing shipped. Take a screenshot of the alert, and tell us what you did about it. Photo