To import a table from a web page and put it into a spreadsheet file, there is an excellent script posted at http://www.biterscripting.com/SS_WebPageToCSV.html . It imports n'th table from a web page (a web page may have more than one table) and puts it in a .csv file (Comma separated values). The good thing is that it strips off html and other tags, formatting, etc. along the way. Also, it will handle nested tables. So you don't have to do anything extra.
I use it all the time. To use, you can download biterscripting free at http://www.biterscripting.com . Install all the sample scripts including the WebPageToCSV script with the following command.
Code:
script "http://www.biterscripting.com/Download/SS_AllSamples.txt"
Code:
script "SS_WebPageToCSV.txt" page("http://www.xxx.yyy/mmm.nnn") number(5)
One thing, if you add more functionality to their sample scripts, please post your improved scripts for the rest of us. Thanks in advance.
Jenni
Leave a comment: