tramite una query web, registrata da una macro.
Vorrei ottimizzare questo scarico (ho letto su internet che posso anche analizzare il singolo elemento) e vorrei ottenere da questo codice html
- Codice: Seleziona tutto
<table class="result-table lmbzero res-fix-table" cellspacing="0"><tbody><tr class="rtitle league-title"><th colspan="3" class="left nobr"><a class="cal" href="/soccer/africa/african-nations-championship/"><span class="newflag f-1"></span>Africa: African Nations Championship</a><a href="javascript: void(0);" onclick="myleague_click(1676, false);" id="myleague-link-1676-1" class="none" title="Click to add league to 'My Leagues'"> </a></th><th class="odds nobr"> </th><th class="odds nobr"> </th><th class="odds nobr"> </th></tr>
<tr class="first-row" data-dt="16,1,2014,16,00" data-def="0"><td class="time first-cell" >16:00</td><td class="left"><a href="/soccer/africa/african-nations-championship/matchdetails.php?matchid=ERMIxxlL" onclick="win(this.href,560,500,0,1); return false;">Zimbabwe - Uganda</a></td><td class="score"><strong>0:0</strong></td><td class="last-cell nobr partial" colspan="3">(0:0, 0:0)</td></tr>
</tr>
<tr class="strong" data-dt="16,1,2014,19,00" data-def="0"><td class="time first-cell" >19:00</td><td class="left"><a href="/soccer/africa/african-nations-championship/matchdetails.php?matchid=8lMMyd3R" onclick="win(this.href,560,500,0,1); return false;">Burkina Faso - Morocco</a></td><td class="score"><strong>1:1</strong></td><td class="last-cell nobr partial" colspan="3">(0:1, 1:0)</td></tr>
</tr>
<tr data-dt="17,1,2014,16,00" data-def="1"><td class="time first-cell" >16:00</td><td class="left"><a href="/soccer/africa/african-nations-championship/matchdetails.php?matchid=Ek55TXA7" onclick="win(this.href,560,500,0,1); return false;">Ghana - Libya</a></td><td class="score"><strong>1:1</strong></td><td class="last-cell nobr partial" colspan="3">(1:0, 0:1)</td></tr>
</tr>
<tr class="strong" data-dt="17,1,2014,19,00" data-def="1"><td class="time first-cell" >19:00</td><td class="left"><a href="/soccer/africa/african-nations-championship/matchdetails.php?matchid=GfqlhHm8" onclick="win(this.href,560,500,0,1); return false;">Ethiopia - Congo</a></td><td class="score"><strong>0:1</strong></td><td class="last-cell nobr partial" colspan="3">(0:0, 0:1)</td></tr>
</tr>
<tr class="nday"><th colspan="6" class="first-cell last-cell nobr">18.01.2014</th></tr>
<tr data-dt="18,1,2014,16,00" data-def="0"><td class="time first-cell" >16:00</td><td class="left"><a href="/soccer/africa/african-nations-championship/matchdetails.php?matchid=KSRWqgel" onclick="win(this.href,560,500,0,1); return false;">D.R. Congo - Gabon</a></td><td class="score"><strong>0:1</strong></td><td class="last-cell nobr partial" colspan="3">(0:1, 0:0)</td></tr>
</tr>
<tr class="strong" data-dt="18,1,2014,19,00" data-def="0"><td class="time first-cell" >19:00</td><td class="left"><a href="/soccer/africa/african-nations-championship/matchdetails.php?matchid=EkRzqDAf" onclick="win(this.href,560,500,0,1); return false;">Burundi - Mauritania</a></td><td class="score"><strong>3:2</strong></td><td class="last-cell nobr partial" colspan="3">(1:1, 2:1)</td></tr>
</tr>
</tbody></table>
un risultato di questo genere, per tutte le tabelle della pagina.
da quello che ho letto ina ltri formu, è possibile estrarre diveri selementi dell html, nel mio caso mi servirebbero
Africa: African Nations Championship 16:00 Zimbabwe - Uganda 00:00 (0:0, 0:0)
Africa: African Nations Championship 19:00 Burkina Faso - Morocco 01:01 (0:1, 1:0)
Africa: African Nations Championship 16:00 Ghana - Libya 01:01 (1:0, 0:1)
Africa: African Nations Championship 19:00 Ethiopia - Congo 00:01 (0:0, 0:1)
Africa: African Nations Championship 18.01.2014
Africa: African Nations Championship 16:00 D.R. Congo - Gabon 00:01 (0:1, 0:0)
Africa: African Nations Championship 19:00 Burundi - Mauritania 03:02 (1:1, 2:1)
Grazie