Extract Content from eBay Using jQuery / Javascript

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?

Answers


You'll need to look at either cross-domain jQuery AJAX guides (1), or the eBay API (2).


  1. Once you scrape the details from eBay, you'll then have to parse them for just the info you want, which can be tedious.

  2. Specifically for the API, you could take a look at GetSingleItem - http://developer.ebay.com/devzone/shopping/docs/callref/GetSingleItem.html


Need Your Help

Open SSL certificate fingerprint in C

certificate openssl signing fingerprint

I am generating a self signed certificate using OpenSSL from C. My code is largely based on the example demo code in the demos/X509 folder (in OpenSSL) and is working ok.

In spite of the fact that I have set width, why my image gets shrinked?

html css twitter-bootstrap

I have set width and height but it ignores this, and shows as original size.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.