node-soupselect icon indicating copy to clipboard operation
node-soupselect copied to clipboard

how to list rows based on table id ?

Open axilaris opened this issue 11 years ago • 0 comments

Hi, I'ved got some html content that looks like this.

Event A 23 January 2014
Event B 31 January 2014

How do I extract out the table rows ? this is the best i am able to do, but it goes dumps the whole table, how can i get every tr row items ?

var sections = select(dom, 'table.sectiontable');

should i do something like this ? var sections = select(dom, 'table.sectiontable + tr') ?

thanks!

axilaris avatar Mar 26 '14 16:03 axilaris