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

CodeSignal

Basic Python and Web Requests

via CodeSignal

Overview

This course introduces you to the foundational skills needed for web scraping with Python. Starting from basic Python programming concepts, you'll learn how to make HTTP requests and handle responses. By the end, you'll be fetching and displaying simple pieces of data from web pages, setting a strong foundation for more complex web scraping tasks.

Syllabus

  • Lesson 1: Exploring Data Retrieval with Python's 'requests' Library
    • Fetching and Displaying Website Content with Python Requests
    • Switch to Love Quotes
    • Fetch Webpage Content Using Python Requests
    • Fetching Web Content with Python Requests
  • Lesson 2: Navigating the Web: Mastering HTTP Status Codes with Python Requests
    • Check Online Bookstore Availability Using Web Requests
    • Check for Missing Page with HTTP Status Code 404
    • Handling HTTP Status Codes in Online Bookstore Check
    • Check the Online Bookstore Status
    • Add Error Handling to Web Request Scenario
  • Lesson 3: Exploring HTTP Response Headers with Python's requests Library
    • Inspecting Content-Type Header in Python Web Requests
    • Inspect and Modify Response Headers in Python
    • Inspecting the Content-Type Header in Response
    • Inspecting Web Response Headers in Python
  • Lesson 4: Mastering Data Retrieval: Query Parameters and REST APIs in Python
    • Exploring Mars with Python and Wikipedia API
    • Switch to Jupiter: Update Space Data Retrieval Code
    • Add Query Parameters for Mars Data Retrieval from Wikipedia API
    • Navigating the Stars: Retrieving Lunar Data with Python

Reviews

Start your review of Basic Python and Web Requests

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.