-
Hello, I am using this beautiful parsing library to get all text from html. But I have a problem with tables, because between rows and columns, there is nothing so the text looks like this: Cell1Cell2Cell3. I want to have How can I achieve this? |
Beta Was this translation helpful? Give feedback.
Answered by
KillyMXI
May 2, 2024
Replies: 1 comment 1 reply
-
First of all, it seems like you're using it with the default format for tables. In case you need CSV-like output, refer to #242 (comment) and change tab to the separator you need. In case you just need tables to be formatted visually: {
selectors: [
{ selector: 'table', format: 'dataTable' }
]
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
capdavid
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First of all, it seems like you're using it with the default format for tables.
In case you need CSV-like output, refer to #242 (comment) and change tab to the separator you need.
There is no built-in formatter like that currently, so there is just a bit more configuration with a custom formatter.
In case you just need tables to be formatted visually: