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

Parse HTML with Beautiful Soup - Python Tutorial

From the course: Python: Programming Efficiently

Start my 1-month free trial

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…

Contents