best method for getting vehicle makes and models

Hi Guys
What is the best method for getting the makes and models of motorcycles from Autotrader website?
I have managed to get them using this query:

select * from html where url="http://www.autotrader.co.uk/bikes" and xpath='//select[@id="searchVehiclesMake"]/option[@class=""]'

Is there a better method?

Also... is it possible to get models of motorcycles too?
The webpage only shows models when a make is selected, i wondered if YQL could submit a make and retrieve models?

Thanks for any help, im very new to this!

0 Replies

Recent Posts

in YQL