top of page

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.

01 Example

Input:

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

JS-Code:

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

Output:

{ output: 'Hello World' }

02 Example

Input:

JS-Code:

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

Output:

{ output: 'Google' }

Screenshot 2022-09-12 at 09.56.18.png
bottom of page