Scraping the pages of a commercial website the size of Expedia is always difficult because (a) they don't want you to do it, and (b) they make frequent changes to their code. If you want Expedia data, sign up for the Expedia Affiliate Network at http://developer.ean.com/ and use their approved API.