Simple html extract I cant get to work

Describe the issue/error/question

this is really basic. I have html on the left side of the image and I want simply to extract the tds.
I am using selectors like td.rep_name or td:nth-child(5) but they all dont work. I can’t select any td’s even though they are right there.

What is the error message (if any)?

no errors I jsut cant get the right data

Please share the workflow

Share the output returned by the last node

returns an empty array

Information on your n8n setup

  • n8n version: 0.188.0

Hi @thomastraum, I think this problem is because you only have td elements, but no valid HTML surrounding them. If you add some basic HTML structure to your items, the extraction should work as expected:

thanks so much for the help @MutedJam

this took me down a whole rabbit hole, and I ended up with a quite long workflow and another problem.

ERROR: The value "undefined" is not a valid DateTime just when I came to my final IF statement…

Not sure if I need so many merge nodes etc.