From the course: Python: Programming Efficiently
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Parse HTML with Beautiful Soup - Python Tutorial
From the course: Python: Programming Efficiently
Parse HTML with Beautiful Soup
- [Narrator] Our next experiment with SDO images, will be to make a time lapse movie. Before we do that, we need to take a detour into extracting data, from an HTML document. The reason, is that we will want, all the SDO images from a specific day. But we don't have their file names in advance, because we don't know the exact time, at which the images were taken. However, that information is available, in a specific page, on the SDO website. Here we see the list of all the images for that day, and we can identify the ones we want, by the end of the file name, Say, we'll use a size of 512, and the golden channel 0171. For your convenience, I've already included the index page, with your exercise files. So that even if the file changes on the NASA website, you have the exact one that I work with in this video. (button clicks) If you're familiar with the HTML markup language, you know that it's relatively intuitive…
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
-
-
-
-
-
(Locked)
Choose the best libraries for your task2m 54s
-
(Locked)
Download webpages with requests4m 54s
-
Manipulate images with Pillow4m 38s
-
(Locked)
Parse HTML with Beautiful Soup4m 52s
-
(Locked)
Make movies with Matplotlib3m 9s
-
(Locked)
Serve webpages with Flask6m 4s
-
(Locked)
Challenge: Image-editing application2m 28s
-
(Locked)
Solution: Image-editing application1m 50s
-
(Locked)
-
-
-