From the course: Python: Programming Efficiently

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Download webpages with requests

Download webpages with requests - Python Tutorial

From the course: Python: Programming Efficiently

Start my 1-month free trial

Download webpages with requests

- [Narrator] In today's computing environment, it is extremely important, to be able to draw from resources published on the web and to interface seamlessly with web services. Python offers several packages to operate on the web, both in the standard library and among third-party offerings. Among them, the package known as Requests stands apart for its power and user-friendliness. Requests' motto is HTTP for Humans. And indeed where other packages require complex boilerplate and secret handshakes, Requests offers a simple and consistent interface. Let's see it in action. Throughout this chapter, we will work with images taken by NASA's Solar Dynamics Observatory known as SDL, which was launched in 2010 with a goal of understanding the variations in the solar activity, that influence life on earth and our technological systems. NASA recently released the Time Lapse movie that condenses 10 years in 61 minutes. It shows…

Contents