Hacky google sheet script for fetching some bourbon
Script is attached to a google sheet with a time-based trigger of 30m
Script needs to be loaded with the following cookies. This can be found by navigating to an lcbo page and setting your store location:
const COOKIES = {
"WC_physicalCity": "TORONTO-CENTRAL",
"WC_physicalStores": "715841646",
"WC_stCity": "m4t2y4",
"lang": "en",
"languagepopupshown": "true",
"storetype": "clickcollect",
};
Web scraping depends on the Cheerio Library
Script pulls Proudct Url
column and will populate the rest