O'Reilly logo

Practical Web Scraping for Data Science: Best Practices and Examples with Python by Bart Baesens, Seppe vanden Broucke

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Seppe vanden Broucke and Bart Baesens 2018

Seppe vanden Broucke and Bart Baesens, Practical Web Scraping for Data Science, https://doi.org/10.1007/978-1-4842-3582-9_2

2. The Web Speaks HTTP

Seppe vanden Broucke and Bart Baesens2

(1)KU Leuven, Leuven, Belgium

(2)Dept of Decision Sci & Info Managem, KU Leuven Dept of Decision Sci & Info Managem, Leuven, Belgium

In this chapter, we introduce one of the core building blocks that makes up the web: the HyperText Transfer Protocol (HTTP), after having provided a brief introduction to computer networks in general. We then introduce the Python requests library, which we’ll use to perform HTTP requests and effectively start retrieving websites with Python. The chapter closes with a section on using parameters ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required