I have a website that contains a table that look like similar(bigger..) to this one:
</table>
<tr>
<td>
<table width="100%" cellspacing="-1" cellpadding="0" border="0" dir="rtl" style="padding-top: 25px;">
<tr>
<td align="right" style="padding-right: 25px;">
<span class="artist_name_txt">
<a href="/namelink">name</a>
<p class="diccografia">subname</p>
</span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" dir="rtl" style="padding-right: 25px; padding-left: 25px">
<tr>
<td class="songs" align="right">
<a href="/number1link" class="artist_player_songlist"> number1</a>
</td>
</tr>
<tr>
<td class="songs" align="right">
<a href="/number2link" class="artist_player_songlist">number2</a>
.......
</td>
</tr>
</table>
and I need an idea how can i parse the website and extract this table into 2 arrays -
- one will be something like names{number1, number2}
- and the second will be links{number1link, number2link}
I tried a lot of ways and nothing really helps me.