Module 1 - Parsing HTML with Beautiful Soup

On the recap video located at

to locate the 1st occurence i guess it shoudl be “event” rather than “soup” ?

Hi @Orce. I can’t check the video right now but:

You’re exactly right—if the goal is to pull the date that belongs to each individual <li> “event” you’re looping over, you should call .find() on the event object, not on the top-level soup. At the same time, you’d keep soup.find(...) for one-off look-ups that aren’t tied to the loop