I translated the PHP Simple HTML DOM request:
$article->find('td[id$=tdDescription] div a', 1)->plaintext;
in jsoup request:
resultRow.select("td[id$=tdDescription] > div > a").first().text());
as you can see, I am getting the second (1) result in PHP, currently in jsoup with .first () I am accessing the first result (0), but I would also like to access the second result (1), as if I did it?
java php jsoup simple-html-dom
Jack murphy
source share