Friday, June 8, 2012

Price Parser

Currently, for different online retail sites, we hard coded the html tags that the parser should look for to get product information. For the whole term, I have been wondering if there is a better way to do it. Once the sites change their UI design, we'll have to change our code. After doing research online and talk to different people, I think that's just the nature of the html parsing. Other than using the retail site's API (if it exists), hard coding the parsing info seems to be the correct way to use! 


No comments:

Post a Comment