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

YouTube

Python Tutorial - Web Scraping with Requests-HTML

Corey Schafer via YouTube

Overview

Learn web scraping in Python using the Requests-HTML library in this comprehensive tutorial. Discover how to parse HTML code, extract specific information from websites, and automate data collection from news sites, sports websites, or online stores. Follow along as the instructor demonstrates the library's capabilities, explains HTML structure, and guides you through parsing HTML, retrieving content from websites, and handling dynamic text. Master techniques for extracting video information, creating YouTube links, and managing missing data with try-except blocks. Gain practical skills in saving scraped data to CSV files and explore the nuances of rendering dynamic content. By the end of this tutorial, you'll be equipped with the knowledge to efficiently scrape websites and extract valuable data using Python and Requests-HTML.

Syllabus

Introduction
Demo
HTML Structure
Parse HTML
Get HTML from Website
Print HTML
Find Video
Parse URL
Create YouTube link
Missing data
Try except block
Save to CSV file
Create CSV file
Dynamic Text
Rendering
Testing

Taught by

Corey Schafer

Reviews

Start your review of Python Tutorial - Web Scraping with Requests-HTML

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.