# Need some help scraping a website

**URL:** <https://discourse.nodered.org/t/need-some-help-scraping-a-website/33084>\
**Category:** General\
**Created:** [19 September 2020 15:41 UTC](https://discourse.nodered.org/t/need-some-help-scraping-a-website/33084 "2020-09-19T15:41:35Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ristomatti](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ristomatti/32/5857_2.png) [@ristomatti](https://discourse.nodered.org/u/ristomatti)\
**Post date:** [20 September 2020 08:53 UTC](https://discourse.nodered.org/t/need-some-help-scraping-a-website/33084/4 "2020-09-20T08:53:02Z")

</div>

Ah, this would only work if the page was rendered on the server which cannot be assumed of websites these days. If you modify the selector to be "body" and set the output to "html contents of the element", you'll see just a bunch of JavaScript imports is returned.

You'll need a node/library that will browse the site using a remote controlled (often headless/invisible) browser. The remote controlled browser will then parse the JavaScript and render the page as any modern browser.

If you're running Node-RED on a PC or a Mac you might be able to do it with some of the Node-RED contrib nodes I list on this topic: [Reset modem through node red](https://discourse.nodered.org/t/reset-modem-through-node-red/32778)

On the other hand, if you're running Node-RED on a Raspberry Pi, I haven't yet come up with a node that would work out of the box, as these browser automation libraries depend on prebuilt browser binaries which tend to not be available for ARM CPU's used by Raspberry Pi's.

---

_[View the full topic](https://discourse.nodered.org/t/need-some-help-scraping-a-website/33084)._
