# Extract data from webpage

**URL:** https://discourse.nodered.org/t/extract-data-from-webpage/57823
**Category:** General
**Tags:** http-request
**Created:** [5 February 2022 11:09 UTC](https://discourse.nodered.org/t/extract-data-from-webpage/57823 "2022-02-05T11:09:41Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![bigmac5753](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bigmac5753/32/15733_2.png) [@bigmac5753](https://discourse.nodered.org/u/bigmac5753)
#### Post date: [5 February 2022 11:09 UTC](https://discourse.nodered.org/t/extract-data-from-webpage/57823/1 "2022-02-05T11:09:41Z")

</div>

I'm trying to extract certain data from a webpage.  
To test it, i've created an inject - http request - debug flow.  
I cannot see the required data in the debug msg.

The URL is: [SiaStats.info - Hosts monitor](https://siastats.info/hosts?=15182)  
The required data is the value of Sia Rank#

Any help is greatly apreciated.

---

<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: [5 February 2022 11:39 UTC](https://discourse.nodered.org/t/extract-data-from-webpage/57823/2 "2022-02-05T11:39:42Z")

</div>

> [@bigmac5753](#):
>
> I cannot see the required data in the debug msg

Because the value is populated from a script that calls to an HTTP endpoint AFTER the page is loaded.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/8/08d43a45316b042a4c23f34fd18d8615cbf4ac00.png)

so the data really comes from a different URL

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/1/51be018d0ad695ee6d81795c6ead05bbd4891266.png)

---

<div class="post-metadata">

### Author: ![bigmac5753](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bigmac5753/32/15733_2.png) [@bigmac5753](https://discourse.nodered.org/u/bigmac5753)
#### Post date: [5 February 2022 12:00 UTC](https://discourse.nodered.org/t/extract-data-from-webpage/57823/3 "2022-02-05T12:00:12Z")

</div>

Many thanks for that

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [19 February 2022 12:00 UTC](https://discourse.nodered.org/t/extract-data-from-webpage/57823/4 "2022-02-19T12:00:51Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
