Tutorial: Web Scraping with Python and BeautifulSoup

104 ratings
Offered By
Coursera Project Network
4,991 already enrolled
In this Guided Tutorial, you will:

Navigate on HTML documents through BeautifulSoup and CSS selectors

Interact with web pages and APIs through Requests

Use the Browser DevTools for doing web scraping detective work

Clock45min for the guided part + 45 min for practice and quizzes
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

By the end of this tutorial, you will have a grasp of the essentials for extracting data from most of the websites on the internet. This includes the usage of BeautifulSoup for getting elements through patterns, Browser DevTools for pattern investigation, and Requests for managing the interface with the servers. This course will be useful for anyone dealing with extracting web data from pages and APIs in a regular basis This guided tutorial is for people that would benefit from being able to extract data from the internet through Python. This of interest to marketers, analysts and data scientists. Basic Python is recommended. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Skills you will develop

Python LibrariesPython ProgrammingWebHtml And CssData Mining

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Load webpages into Python through requests

  2. Access elements and attributes inside HTML pages

  3. Search for elements with given classes and attributes

  4. Use the browser developer tools as a detective toolkit

  5. Use CSS selectors for searching complex patterns

  6. Send POST, PUT and PATCH data with modified headers

  7. Authenticate and maintain connection state through sessions and cookies

How Guided Tutorials work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step



View all reviews

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.