# Web scrape and validation

**URL:** <https://discourse.nodered.org/t/web-scrape-and-validation/52519>\
**Category:** General\
**Created:** [21 October 2021 15:15 UTC](https://discourse.nodered.org/t/web-scrape-and-validation/52519 "2021-10-21T15:15:02Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [21 October 2021 17:01 UTC](https://discourse.nodered.org/t/web-scrape-and-validation/52519/3 "2021-10-21T17:01:24Z")

</div>

> [@Marty1982](#):
>
> suddenly the web scrap stopped working. It cannot retrieve the td or tr element. Maybe changed on the website or something is missing.

I doubt it just stopped working - my guess is you have updated node-red (or are running this flow on a newer version of node-red) as it does indeed NOT work on newer node-red. What version of node-red is this?

@mdkrieg my guess is you are running node-red V1.x?

@Marty1982 the workaround is to wrap the `td` with `td` and `table`

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/a/aae1e429087ac2c964831f037bc064a3259d6490.png)

function code...

```auto
msg.payload = `<table><tr>${msg.payload}</tr></table>`
return msg;

```

* * *

This is related: [Html node not extracting content - #11 by knolleary](https://discourse.nodered.org/t/html-node-not-extracting-content/50795/11)

---

_[View the full topic](https://discourse.nodered.org/t/web-scrape-and-validation/52519)._
