Can I scrape data from this js widget in n8n

I want to know if it’s possible to directly scrape the data from a Js widget, like the one below without hosting it somewhere.

I’m a total noob in this regard.

The guide says, that the first part has to be added to the website header.
The second part needs to be added to the body.
The widget will check if it’s hosted on the domain, that was given during the creation process.

Header:

Body:

  • n8n version: current
  • Database (default: SQLite): default
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Ubuntu

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @atwork1,

The widget would need to be loaded on a page somewhere for n8n to be able to read the text although if it is added with JavaScript it may not be possible with the nodes we ship with and you may need to look at something like Browserless / Puppeteer.

1 Like

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