Web Scraping with Python: An Introductory Tutorial

Key Packages

  • requests -- Issues HTTP requests to web servers and handles the response

  • beautifulsoup4 -- Parse the returned web page and makes it searchable

  • These packages are not in Python's standard library, here is how to install them:

    • Standard Python: pip install requests beautifulsoup4

    • Anaconda Python: conda install requests beautifulsoup4

# Requests …
more ...