A simple little script that I ran on my macbook to notify me when bestbuy restocked the 4090 FE
In my personal experience, bestbuy is the only store that hasn't caused me many issues and have generally been good to me. If the link breaks, try finding the same type of endpoint and copying the curl command for the network request.
watch -n 10 ./alert.sh
(every 10s or whatever frequency you want)- saves a timestamps and status in logs so you can feel bad about missing a drop
- will open up the webpage exactly where it's specified so make sure it's the right link
requires watch
, jq
, curl
usage (e.g. 4080 SKU because it is always in stock)
SKU=16531650 watch -n 3 ./alert.sh
output looks like this
Every 3.0s: ./alert.sh main: Tue Dec 12 22:12:50 2023
2023-12-12 22:04:21 - status=InStock | quantity=124
2023-12-12 22:04:53 - status=InStock | quantity=124
2023-12-12 22:05:04 - status=InStock | quantity=124
2023-12-12 22:05:18 - status=InStock | quantity=124
2023-12-12 22:07:13 - status=SoldOutOnline | quantity=0
2023-12-12 22:07:15 - status=SoldOutOnline | quantity=0
2023-12-12 22:07:21 - status=InStock | quantity=124
2023-12-12 22:08:28 - status=InStock | quantity=124
2023-12-12 22:09:03 - status=InStock | quantity=124
2023-12-12 22:12:07 - status=InStock | quantity=124
2023-12-12 22:12:13 - status=SoldOutOnline | quantity=0
2023-12-12 22:12:17 - status=SoldOutOnline | quantity=0
2023-12-12 22:12:23 - status=InStock | quantity=124
2023-12-12 22:12:47 - status=SoldOutOnline | quantity=0
2023-12-12 22:12:50 - status=SoldOutOnline | quantity=0