You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

9 lines
236 B

#!/usr/bin/env bash
url="https://pine64.com/product/pinecil-smart-mini-portable-soldering-iron/"
string="out of stock"
curl -sL "$url" | hq h1 text | grep -vqi "$string"
if [ "$?" -eq 0 ]; then
notify-send "Pinecil back in stock"
fi