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 - Python Tutorial
From the course: Python: Programming Efficiently
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
Choose the best libraries for your task2m 54s
-
Download webpages with requests4m 54s
-
Manipulate images with Pillow4m 38s
-
Parse HTML with Beautiful Soup4m 52s
-
Make movies with Matplotlib3m 9s
-
Serve webpages with Flask6m 4s
-
Challenge: Image-editing application2m 28s
-
Solution: Image-editing application1m 50s
-
-
-
-