From the course: Intermediate Python for Non-Programmers
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Completing your web scraper - Python Tutorial
From the course: Intermediate Python for Non-Programmers
Completing your web scraper
- [Instructor] So our web scraper right now is pretty cool. It's going out and it's grabbing all the blog post titles showing them in a list. That's great. But there's more to these blog posts than just the title. There's the text that you could get access to and the one that I'm very interested in is the date. I think it'd be very cool to show the date that these posts were written so that someone if they run this, you know scraper dot py every morning to see if there's any new posts, they could say, oh look that date is the same date as today. You know, this is new, let's go check it out. Or if they see, oh, that's the same one from last Thursday I don't need to go check the website. And so for us to get access to this date here let's go ahead and find where it is in our code and we'll notice it's just below the A tag where we have the title for the blog post showing. So here we can see this is a time tag, inside of here, there's this date time that shows specifically when this was…
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.