HTTP Request GET: " looks like you don't have JavaScript turned on"

Describe the issue/error/question

When I try GET a http website, I dont get the content

What is the error message (if any)?

...
<noscript>Sorry, looks like you don't have JavaScript turned on. We kinda need it!</noscript>
...

Please share the workflow

Information on your n8n setup

  • n8n version: 0.179.0
  • Database you’re using (default: SQLite): postgres:14.3
  • Running n8n with the execution process [own(default), main]: queue
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: Docker

Hey @jfcaringi ,
your are trying to fetch a webpage that renders in the browser using javascript. That means the initial response you get using our Http Request Node does not include the data you are looking. Your data will be loaded inside javascript and inserted into the html by the browser.

You will need a headless browser like puppeteer that requests your webpage and actually runs and renders it in the background.

You can try the node n8n-nodes-puppeteer, a node integration developed by a community member. Checkout the Readme.md how to build your own docker image with n8n-nodes-puppeteer installed.

2 Likes

thank you very much for your support!
I’ll give it a try!

Hey @jfcaringi,
to get n8n-nodes-puppeteer working inside docker was a bit hard so i created the github repo n8n-puppeteer-docker to build and run a docker image.

I was able to fetch and render your page.

1 Like

thank you very much!!!

https://github.com/maspio/n8n-puppeteer-docker doesnt seems to work anymore

i ssh to another localhost with puppeteer installed via n8n workflow works perfectly

I just made a clean build and run, it works for me. I added the build and run command to the repo’s README.md. Can you try executing those inside the cloned repository directory. What does not work for you?

https://github.com/maspio/n8n-puppeteer-docker

FYI

Thanks @RedPacketSec, I forgot to make it public :upside_down_face: