How to Scrape the Web using Node.JS (Puppeteer + Cheerio)

Опубликовано: 15 Октябрь 2024
на канале: Worn Off Keys
10,729
269

Web scraping is a very useful tool from time to time. In this video I'll go over the basics of how to scrape data from any website using Puppeteer and Cheerio.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

📝 Puppeteer Documentation:
https://www.npmjs.com/package/puppeteer

📝 Cheerio Documentation:
https://www.npmjs.com/package/cheerio

🙋‍♂️ Need help? Ask in our Discord community:
https://wornoffkeys.com/discord

💡 Have an idea for a video or course? Request it here:
https://wornoffkeys.com/content-request

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

🕐 Timestamps:
00:00 Introduction
01:04 Setting up Puppeteer
03:14 Taking a screen shot of Google
04:44 Changing the size of the chromium browser
06:30 Getting the HTML of a web page
11:11 Working with Cheerio
13:31 Outro

#webscraping #nodejs #wornoffkeys

FTC Legal Disclaimer - Some links found in my video descriptions might be affiliate links, meaning I will make commission on sales you make through my link. This is at no extra cost to you and it helps support the channel so I can make more free YouTube videos.