Good day. The brain has already broken, I can not figure out how to properly parse this page class and correctly drive it all into the TableRow:
<div id="contrighta" class="contrighta"> <h1>Some label</h1><br> <table> <tbody> <tr> <th width="420" align="left" valign="top">News Title</th> <th width="70 " align="left" valign="top">Date</th> <th width="120" align="left" valign="top">News Category</th> <th width="100" align="left" valign="top">Language</th> </tr> <tr> <td align="left" valign="top" class="bodyblack"> <a href="some_link">Some text</a></td> <td align="left" valign="top" nowrap="">Some data</td> <td align="left" valign="top" nowrap="">Some people</td> <td align="left" valign="top" nowrap="">Some language</td> </tr> <tr> <td align="left" valign="top" class="bodyblack"> <a href="some_link">Some text</a></td> <td align="left" valign="top" nowrap="">Some data</td> <td align="left" valign="top" nowrap="">Some people</td> <td align="left" valign="top" nowrap="">Some language</td> </tr> <tr> <td align="left" valign="top" class="bodyblack"> <a href="some_link">Some text</a></td> <td align="left" valign="top" nowrap="">Some data</td> <td align="left" valign="top" nowrap="">Some people</td> <td align="left" valign="top" nowrap="">Some language</td> </tr> <tr> <td align="left" valign="top" class="bodyblack"> <a href="some_link">Some text</a></td> <td align="left" valign="top" nowrap="">Some data</td> <td align="left" valign="top" nowrap="">Some people</td> <td align="left" valign="top" nowrap="">Some language</td> </tr> </tbody> </table> In fact, I got to the text, but it would still be correct to group this heap, and still somehow output it to the TableRow
if (doc != null) { Elements tableRows = doc.getElementsByClass("contrighta") .select("tr"); Iterator<Element> rowIterator = tableRows.iterator(); while (rowIterator.hasNext()) { Element tableRow = rowIterator.next(); //<td align="left" valign="top" class="bodyblack"><a href="some_link">Some text</a></td> Elements data = tableRow.select("td"); //Log.d("NewsFragment", "" + data); for (Element link : data) { Log.d("Return: ", "" + link.text()); } } }