Scrape a Webpage with a Serverless Function

InstructorLukas Ruebbelke

Share this video with your friends

Send Tweet

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.