As I learn more and more how to automate tasks and extract useful data from the web, I have run into a snag. I think that my solution can be found in the new functions, ExtractTable or ExtractTag. But I am finding almost no examples on proper syntax or how to use them. I'm almost positive that I'm not the only one who would love to see the examples I am seeking. Please help me or guide me to where they may be hidden.
I am attempting to build and regularly update a database table from a web published table.
On this Forum, Post: Tue Nov 01, 2011 8:26 am to Forum user:"tjorgens", Marcus gave a fantastic code example of how ExtractTable handily pulls the Version_Matrix data to a csv file. However my web matrix/table is built differently.
The individual columns are in their own tag like this abbreviated example of two columns. (The actual web table is 6 columns wide and hundreds of records deep.)
Code: Select all
<table id="Table3" width="100%" cellspacing="5" cellpadding="2" border="0" style="font-size:small">
<tr>
<td id="tdFileNum" style="width:12%">53089010<br><br><br>53094310<br><br><br>53094410<br><br><br>53096110<br><br><br>5261111<br><br><br>52193908<br><br><br>5163511<br><br><br>5164911<br><br><br>5170611<br><br><br>5193411<br><br><br></td>
<td id="tdSaleDate" style="width:10%">12/06/2011<br><br><br>12/06/2011<br><br><br>12/06/2011<br><br><br>12/06/2011<br><br><br>12/06/2011<br><br><br>12/06/2011<br><br><br>12/06/2011<br><br><br>12/06/2011<br><br><br>12/06/2011<br><br><br>12/06/2011<br><br><br></td>
What is the best way to extract this data while preserving the columns and integrity of records to each other?
.