HtmlExtract automates the extraction of product prices from specified web pages every 15 minutes, sending notifications when prices drop. It efficiently manages data storage and updates, ensuring users stay informed about the best deals while simplifying the monitoring process.
initItem
function initializes the workflow by setting up the items to be monitored.fetchWeb
node retrieves the HTML content of the specified product links.HTML Extract
node parses the fetched HTML to extract the current price based on the provided CSS selector.getActualPrice
function processes the extracted price, converting it to a float and checking if it exists.myWatchers
array in the changeME
node to include new products by adding their respective links and CSS selectors.NotifyBetterPrice
and NotifyIncorrectPrice
nodes to change the recipient email addresses or the content of the notifications.HTML Extract
node for different websites to ensure accurate price extraction based on the site's structure.