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.
10 lines
236 B
10 lines
236 B
3 years ago
|
#!/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
|