Example

Web Scraping

Since I have often built small web-scraper myself using Integromat/Make, I have now also added the library cheerio. So now you can easily build your scraper without any further services. Also the axios http request library is available.

Example 1
Input-Field

{"content":"<h2 class='title'>Hello World</h2>"}

JS-Code-Field

const $ = cheerio.load(input.content);$('h2.title').text();

Output-Field

{ output: 'Hello World' }

Example 2
Input-Field

 

JS-Code-Field

const $ = cheerio.load((await axios.get('https://www.google.de/')).data);$('head title').text();

Output-Field

{ output: 'Google' }

Make.com Custom JavaScript Web Scraping Example
?