Reputation: 31
I'm trying to extract price values from a website for a final project. I am to create a GUI that calculates the cost of materials to build a house. I am attempting to use up to date pricing from Home Depots website each time the GUI is run. I am trying to use urlread
function to extract the prices. This is what I have right now, and have been playing with.
url = 'http://www.homedepot.com/p/SHEETROCK-UltraLight-1-2-in-x-4-ft-x-8-ft-Gypsum-Board-14113411708/202530243'
SheetrockPrice = urlread(url ,'Get',{'span#ajaxPrice.pReg'})
I believe my problem is with creating the search parameters.
Upvotes: 0
Views: 323