I need to write a curl functionality, where the datas are stored in the table format. I need to write a function to read all the <tr> and its <td>
<td> contains text and link like the below.
could anyone help me how to read a text along with the link.
for example:
<table>
<tr>
<td> <div> <a href="link.html">td data </a><div></</td>
<td> <div> <a href="link.html">td data </a><div></</td>
</tr>
<tr>
<td> <div> <a href="link.html">td data </a><div></</td>
<td> <div> <a href="link.html">td data </a><div></</td>
</tr>
</table>