-
Book Overview & Buying
-
Table Of Contents
Python Automation Cookbook - Third Edition
By :
The internet, and the World Wide Web (WWW), is probably the most prominent source of information today. Most of that information is retrievable through the HTTP protocol. HTTP was invented originally to share pages of hypertext (hence the name HyperText Transfer Protocol), which started the WWW.
The HTTP protocol is used behind the scenes every time we manually request a web page, in a process familiar to almost everyone. But we can also use the HTTP protocol to trigger requests programmatically to retrieve and process information. Python has an HTTP client included in its standard library, but the fantastic requests module makes obtaining web pages very easy. When that's not enough, we can use Playwright to automate a full browser. In this chapter, we will see how.
In this chapter we're going to cover the following main recipes: