Skip to content

Instantly share code, notes, and snippets.

@MattHealy
Last active December 11, 2019 23:29
Show Gist options
  • Save MattHealy/d54e40db0bd4e2fe514b65049278aa2a to your computer and use it in GitHub Desktop.
Save MattHealy/d54e40db0bd4e2fe514b65049278aa2a to your computer and use it in GitHub Desktop.
Watch an amazon product price
watch -n 60 "curl -s \
--url 'https://www.amazon.com.au/Thermos-THERMOcafe-Vacuum-Insulated-BOL750R6AUS/dp/B07DHGBNM9' \
--compressed | grep 'priceblock_ourprice' | grep 'priceBlockBuyingPriceString' >> /tmp/amazon.log"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment