Answer the question
In order to leave comments, you need to log in
How to parse child elements in Nokogiri?
Hello everyone, the essence of the voros, you need to parse the elements of the table, only there is a class with a specific name in one of the cells of the table:
<body>
<div class="content">
<table class="normal">
<tbody>
<tr>
<td class="name">Hello</td>
<td></td>
<td></td>
<td class="count"></td>
<td></td>
<td class="parse this"></td>
<td class="parse this"></td>
<td class="parse this"></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name">Hello</td>
<td></td>
<td></td>
<td class="count"></td>
<td></td>
<td></td>
<td class="parse this"></td>
<td class="parse this"></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name">Hello</td>
<td></td>
<td></td>
<td class="count"></td>
<td></td>
<td class="parse this"></td>
<td></td>
<td class="parse this"></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name">Hello</td>
<td></td>
<td></td>
<td class="count"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name">Hello</td>
<td></td>
<td></td>
<td class="count"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</div>
</body>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question