By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,653 Members | 1,483 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,653 IT Pros & Developers. It's quick & easy.

How to extract specific content from webpage using jsoup

P: 5
I need to extract ONLY those publications from the web page, where the first author is Rahul Rao.

I have tried the following code ,but it doesn't give me any output.
Expand|Select|Wrap|Line Numbers
  1. for( Element element :"table span.this-person.title") ){
  2. System.out.println(element.text());
  3. }
What do I need to get the preferred output? Thank you in advance.
Mar 1 '13 #1
Share this Question
Share on Google+
1 Reply

P: 13,264
You're probably using the wrong css selector. Use firebug on the site to see exactly which style you should be using in your code.
Mar 6 '13 #2

Post your reply

Sign in to post your reply or Sign up for a free account.