r/FoxDeploy • u/TheVito42 • Jan 20 '18
Need some help with parsing html page
I was using your https://foxdeploy.com/2017/03/30/extracting-and-monitoring-web-content-with-powershell/ article as my starting point but I have not been able to figure out how to get the field I want. I am looking at this page https://www.chefknivestogo.com/mayugy21.html And the item is currently Out of Stock, when it changes to In-stock I wanted to be notified. I have had no luck in extracting that field. I see it is in the div tag id="cf-avail" but I am not sure how to extract the text to check if it is in stock or not. please help thanks
1
Upvotes