Closed dayAlone closed 9 years ago
Hello @dayAlone, thanks for the pull request! We've had some tickets before discussing ignoring rows, but no one has ever submitted any code.
Before I merge this, I would like to talk a little about its use-case and how this would be better than other available options.
If you know the index of the row, why not just remove it from the resulting array?
noEmptyRows = fullTable.splice(3, 1);
ignoreColumns
works, except ignoreRows
?data-ignore="true"
?@lightswitch05, I can see a use for this in scraping sites I have no control over.
My thoughts on your questions:
all the workarounds require additional logic (and some at a fairly high cost due to interacting the dom, which will now need to be done 2x once for pre and once to conversion) at the onset of post to work.
Just an argument for the addition in one scenario.
@station384 great points, I'll merge parts of this (don't want the version change stuff) and implement in the rewrite code
This has ben released in version 0.10.0. Thank you @dayAlone for the pull request!
Options for ignore row (data-ignore) and ignore empty rows