Duration
11 min
Access
Pro
Transcript
Available

Even webpages can be scraped using serverless functions!

We can create a function using the Serverless CLI and import Axios and Cheerio. Axios is used to get the HTML from a page and then we use Cheerio to parse the HTML for our desired data and create an array of pretty printed strings from it.