A
Abram
I'm fairly new to Perl, so bare with me.
I am trying to extract a table from an HTML file and parse through each
row, then dump the extracted cell data into a csv file. This was
pretty easy to accomplish with HTML::TokeParser, however I have one
problem. Each HTML file I need to parse has three tables with the same
structure. I need to separate these three tables into three csv files.
I can use TableExtract to get the exact tables using the depth and
count matching (depth is always 2 and count is 5-7), but I am not sure
how to then parse only that table and extract the data. I'm sure this
is pretty simple stuff, and I'll kick myself when I see the answer.
Thanks in advance.
--Abram
I am trying to extract a table from an HTML file and parse through each
row, then dump the extracted cell data into a csv file. This was
pretty easy to accomplish with HTML::TokeParser, however I have one
problem. Each HTML file I need to parse has three tables with the same
structure. I need to separate these three tables into three csv files.
I can use TableExtract to get the exact tables using the depth and
count matching (depth is always 2 and count is 5-7), but I am not sure
how to then parse only that table and extract the data. I'm sure this
is pretty simple stuff, and I'll kick myself when I see the answer.
Thanks in advance.
--Abram