Course

Learn Web Scraping with Beautiful Soup

Can’t download the data you need? Learn how to pull data right from the page by web scraping with the Python library Beautiful Soup.

4.24 out of 5 stars
21,726 learners enrolled
  • Skill level

    Intermediate
  • Time to complete

    Average based on combined completion rates — individual pacing in lessons, projects, and quizzes may vary
    2 hours
  • Certificate of completion

    Included with paid plans
  • Prerequisites

    2 courses
    We suggest you complete the following courses before you get started with Learn Web Scraping with Beautiful Soup:
    • Learn Python 3
    • Learn Data Analysis with Pandas

About this course

Many of your coding projects may require you to pull a bunch of information from an HTML or XML page. This task can be really tedious and boring, that is until you learn how to scrape the web with an HTML Parser! That’s where Beautiful Soup comes in. This Python package allows you to parse HTML and XML pages with ease and pull all sorts of data off the web.

Say you want to pull all of the tweets from your favorite movie star and run some analysis on their word usage — scrape em! Maybe you want to make a digital collage all the images you’ve posted of your dog to Instagram — parse em! And if you want to pull a list of all of your friend’s favorite books from Goodreads — Beautiful Soup em!

Syllabus

The platform

Hands-on learning

Animated GIF of an AI provided error explanation within Codecademy's learning environment
An AI-generated hint within the instructions of a Codecademy project
Animated GIF of Codecademy's Job Readiness Checker tool generating a compatibility report for a senior software engineer role
Animated GIF of building a phone screen interview using Codecademy's Interview Simulator
A fill-in-the-blank JavaScript question in a Codecademy assessment

Earn a certificate of completion

Show your network you've done the work by earning a certificate of completion for each course or path you finish.
  • Show proofReceive a certificate that demonstrates you've completed a course or path.
  • Build a collectionThe more courses and paths you complete, the more certificates you collect.
  • Share with your networkEasily add certificates of completion to your LinkedIn profile to share your accomplishments.

Learn Web Scraping with Beautiful Soup course ratings and reviews

4.24 out of 5 stars
242 ratings
  1. 5 stars
  2. 4 stars
  3. 3 stars
  4. 2 stars
  5. 1 star
  • The progress I have made since starting to use codecademy is immense! I can study for short periods or long periods at my own convenience - mostly late in the evenings.
    Chris
    Codecademy Learner @ USA
  • I felt like I learned months in a week. I love how Codecademy uses learning by practice and gives great challenges to help the learner to understand a new concept and subject.
    Rodrigo
    Codecademy Learner @ UK
  • Brilliant learning experience. Very interactive. Literally a game changer if you're learning on your own.
    John-Andrew
    Codecademy Learner @ USA

Our learners work at

  • Google Logo
  • Meta Logo
  • Apple Logo
  • EA Logo
  • Amazon Logo
  • IBM Logo
  • Microsoft Logo
  • Reddit Logo
  • Spotify Logo
  • Uber Logo
  • YouTube Logo
  • Instagram Logo

Frequently asked questions about Web Scraping with Beautiful Soup

  • Web scraping is a way for programmers to learn more about websites and users. Sometimes you’ll find a website that has all the data you need for a project — but you can’t download it. Fortunately, there are tools like Beautiful Soup (which you’ll learn how to use in this course) that let you pull data from a web page in a usable format.

Join over 50 million learners and start Learn Web Scraping with Beautiful Soup today!

Start this course with a 7-day free trial

Check out tools that help you stay ahead with a Plus or Pro plan.
  • Plus

    Learn a skill
    $14.99 per month
    Billed annually or$29.99 billed monthly
    Build in-demand technical skills for work or a personal project
    • Basic access to free courses
      Access basic material for courses in top subjects like HTML and JavaScript. Quizzes and projects not included with Basic.
    • Community support
      Connect with other learners, get answers to your questions, and attend fun events.
    • Learning resources
      Cheatsheets, docs, videos, and more to support your learning journey.
    • Real-world projects
      Access our full library of practice and portfolio projects. Apply your skills and build your portfolio.
    • All courses
      Unlimited access to 300+ stand-alone courses, including everything in Basic plus popular Pro courses like Learn Python 3.
    • Skill paths
      Curated learning paths teach you everything you need to gain a specific skill, like building a website or visualizing data.
    • Certificates of completion
      Earn a certificate for courses or paths you finish to share with your network as proof of completion.
    • Career paths
    • Technical interview prep
    • Code challenges
    • Professional certifications
    • Career services
    • Assessments
  • Recommended

    Pro

    Build a career
    $19.99 per month
    Billed annually or$39.99 billed monthly
    Develop the skills and experience to land a job in techEverything in Plus and more
    • Basic access to free courses
      Access basic material for courses in top subjects like HTML and JavaScript. Quizzes and projects not included with Basic.
    • Community support
      Connect with other learners, get answers to your questions, and attend fun events.
    • Learning resources
      Cheatsheets, docs, videos, and more to support your learning journey.
    • Real-world projects
      Access our full library of practice and portfolio projects. Apply your skills and build your portfolio.
    • All courses
      Unlimited access to 300+ stand-alone courses, including everything in Basic plus popular Pro courses like Learn Python 3.
    • Skill paths
      Curated learning paths teach you everything you need to gain a specific skill, like building a website or visualizing data.
    • Certificates of completion
      Earn a certificate for courses or paths you finish to share with your network as proof of completion.
    • Career paths
      Curated learning paths give you the knowledge and experience to land a job in tech like Data Scientist or Engineer.
    • Technical interview prep
      Technical interview prep courses, practice questions, code challenges, and more.
    • Code challenges
      Test your knowledge with coding problems based on real-world technical interviews.
    • Professional certifications
      Prove you're job-ready. Earn a professional certification when you pass all the exams in select career paths.
    • Career services
      Get personalized job listings and connect with employers looking for tech talent.
    • Assessments
      Test your skills as you build toward job-readiness. Certification exams are available in select career paths.

Unlock additional features with a paid plan

  • Practice Projects

    Guided projects that help you solidify the skills and concepts you're learning.
  • Assessments

    Auto-graded quizzes and immediate feedback help you reinforce your skills as you learn.
  • Certificate of Completion

    Earn a document to prove you've completed a course or path that you can share with your network.