I’m normally able to easily extract content from websites using jQuery but I’m having trouble extract the some content from this page:
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=290585620456
I want to extract the product name, quantity available, and quantity sold in the following format:
2 pc 10″ Bamboo Single Point Knitting Needles 0-11 – 32 sold
Size 0 – 5 available
Size 1 – 5 available
Size 2 – 5 available
…
Size 8 – Out of Stock
but I can’t seem to figure it out. Any suggestions?
You’ll need to look at either cross-domain jQuery AJAX guides (1), or the eBay API (2).
Once you scrape the details from eBay, you’ll then have to parse them for just the info you want, which can be tedious.
Specifically for the API, you could take a look at
GetSingleItem– http://developer.ebay.com/devzone/shopping/docs/callref/GetSingleItem.html