Skip to content
1 min read 195 words

Free Web Scraping for n8n & Make: Browserless + Cheerio

Build affordable scraping pipelines in n8n with self-hosted Browserless, HTTP Request nodes, and Cheerio parsing—without premium APIs.

WorkFlowAI editorial · Trust

#n8n #scraping #cheerio #browserless

Premium scraping APIs get expensive fast. For many n8n/Make flows you can combine HTTP Request, a self-hosted browser (e.g. Browserless), and Cheerio parsing.

Web research and data extraction workflow on a laptop

Prefer static HTTP when possible; use headless Chrome only when the page needs JS.

Static vs headless

  • Static HTML → HTTP Request + parse (fast, cheap).
  • JS-rendered SPA → headless Chromium (more RAM).

Parse tables in an n8n Code node

If your n8n instance allows external modules (NODE_FUNCTION_ALLOW_EXTERNAL):

const cheerio = require('cheerio');
const rawHtml = $input.item.json.body;
const $ = cheerio.load(rawHtml);
const extractedLeads = [];

$('table.lead-table tbody tr').each((index, element) => {
  const name = $(element).find('td.lead-name').text().trim();
  const company = $(element).find('td.lead-company').text().trim();
  const contact = $(element).find('td.lead-email').text().trim();
  if (name && contact) {
    extractedLeads.push({
      json: {
        lead_name: name,
        lead_company: company,
        lead_contact: contact,
        scraped_at: new Date().toISOString(),
      },
    });
  }
});

return extractedLeads;

Ethics and reliability

  • Cache responses; backoff on 429/403.
  • Don’t bypass paywalls or auth walls.
  • Prefer official APIs when available.

Structured scraped data visualized in a dashboard

Always respect robots.txt, terms of service, and rate limits.

About the publisher

WorkFlowAI is an open catalog of AI automation workflows, MCP servers, and tools. Guides are written to help operators install and evaluate recipes — with honest Verified vs Community labels.

Related reading

Use this in the library

← All posts