Rectangle 27 0

java Unable to parse value from HTML using jsoup?


Elements authors = doc.select("a");
for (Element author : authors) {
    Log.d("POC", author.text());
}
[ROM] Redemption Rom ICS v1.0.1 *UPDATE* Jan 3rd 8:30pm EST

Sign up for our newsletter and get our top new questions delivered to your inbox (see an example).

Ah sorry didn't know there were also other types of links on the site. Still odd it doesn't return the member links since it worked for me with different types of links. Did you try just using [hovercard-ref]?

Hmm. Just throwing things out here now but try "._hovertrigger", since Jsoup also works with classes that might do the trick.

The "a" retrieves all links. After that you can just use the .text() like you said to retrieve the value.

To get the birdman portion of the link, just use the following:

tried that as well :P both dont return anything.

ya I tried that too. :/ I also just updated my question with the full block of relevant code in case you see something that I overlooked

Note
Rectangle 27 0

java Unable to parse value from HTML using jsoup?


Selvin answered it in the comments. I wasnt getting the source correctly and it was causing errors. http://pastebin.com/xfUQkGw0

Note