for my project (nodeJS) I need to scrape some Data from an other website. I have done similar things in the past with php and python, but I don’t know how to approach this with wappler.
I have not seen any action in the workflow-area that would allow me to get the html from a url and than phrase it so that I can extract certain elements from it.
You can utilize external Node.js modules for web scraping or crm data enrichment. For example, the axios library for making HTTP requests and cheerio for parsing HTML. You can install these modules using npm.
npm install axios cheerio
Write a Node.js script that includes the necessary logic for scraping the website. For example:
const axios = require(‘axios’);
const cheerio = require(‘cheerio’);