top of page
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' }

bottom of page