# Web scraping to grab an items price, but coming back empty

**URL:** <https://discourse.nodered.org/t/web-scraping-to-grab-an-items-price-but-coming-back-empty/34894>\
**Category:** General\
**Created:** [27 October 2020 14:26 UTC](https://discourse.nodered.org/t/web-scraping-to-grab-an-items-price-but-coming-back-empty/34894 "2020-10-27T14:26:19Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [27 October 2020 18:50 UTC](https://discourse.nodered.org/t/web-scraping-to-grab-an-items-price-but-coming-back-empty/34894/4 "2020-10-27T18:50:20Z")

</div>

As i thought, value is NOT present in the HTML (it is updated in a later background call to another URL)

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

The actual URL is `https://www.lowes.com/pd/1000698158/productdetail/2209/Guest` so do a request to that URL, set the request node to JSON then access the values from `msg.payload.productDetails["1000698158"].price.itemPrice`

---

_[View the full topic](https://discourse.nodered.org/t/web-scraping-to-grab-an-items-price-but-coming-back-empty/34894)._
