Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Web Scraping with BeautifulSoup and Requests

Corey Schafer via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn web scraping techniques using Python's BeautifulSoup library and Requests module in this comprehensive tutorial. Explore how to parse HTML code, extract specific information from websites, and automate data collection for various purposes such as gathering news headlines, sports scores, or product prices. Follow along with practical examples, including installing BeautifulSoup, understanding HTML structure, inspecting web pages, searching for specific elements, and handling iframes. Gain insights into error handling with try-except blocks and learn how to save scraped data to CSV files. Access accompanying code snippets and additional resources to enhance your web scraping skills.

Syllabus

Intro
Web Scraping Example
Installing BeautifulSoup
Understanding HTML
Inspect
Get Website
Inspect Website
Search for Articles
Headline
iframe
parse
YouTube link
Output
Demo
Try Except
Save to CSV

Taught by

Corey Schafer

Reviews

5.0 rating, based on 1 Class Central review

Start your review of Web Scraping with BeautifulSoup and Requests

  • Profile image for Waleed Hassan
    Waleed Hassan
    Awesome course for Web Scraping and BeautifulSoup and provided the method for selection by tag name, by id, by class name, as well as their attributes.

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.