Skip to main content

r/learnpython


How would you approach scraping from Wikipedia using Python?
How would you approach scraping from Wikipedia using Python?

Hey everyone,

I'm learning Python web scraping and wanted to see how more experienced programmers would approach this task. the task is to scrape all Wikipedia articles of Academy Award winners listed under Wikipedia. Source: https://en.wikipedia.org/wiki/List_of_Academy_Award–winning_films

I'm specifically interested in collecting every film listed on that Wikipedia page and downloading its individual Wikipedia article.

I'd really appreciate seeing how others would implement this from scratch using Python, preferably with requests and BeautifulSoup.

A few things I'm curious about:

  • How would you extract all the film links without missing any?

  • How would you download and save each film's Wikipedia article?

  • How would you handle errors or failed downloads?

  • How would you verify that all articles were successfully collected?

If possible, I'd love to see a complete working Python example rather than just a general explanation. I'm trying to compare different approaches and understand what a reliable solution would look like.

Thanks in advance!


Advertisement: We're welo. The internet provider that's got your back. Chat with us live within minutes, 24/7. Plus, get reliable, fast internet plans like our 1 Gig plan for $40/month for life, guaranteed.
We're welo. The internet provider that's got your back. Chat with us live within minutes, 24/7. Plus, get reliable, fast internet plans like our 1 Gig plan for $40/month for life, guaranteed.
media poster


I finished a Python course, but I still need AI to build anything. How do I get past this?
I finished a Python course, but I still need AI to build anything. How do I get past this?

So, I am coming here after watching YT videos and reading numerous other posts. I am not going to give you the usual “how do I learn Python?” question with no context, because if I’d figured it out, I’d be doing my shit instead of asking here.

To the people who do this professionally or are good at it: how would you approach learning Python in 2026, when one AI prompt can give you almost anything within seconds?

I took a Python course, completed it, and then forgot most of what I’d learned because I had no use for it at the time. Now I actually need it for my own work in physics, and I feel like I am back at square one. I see, LinkedIn is full of posts like, “I am happy to announce that I’ve built this package,” etc., etc. And sure, you used your knowledge + AI to build it. But my concern is that if someone asked me to make a package, I wouldn’t even know where to start until I wrote a prompt and read the generated code line by line. I mean, wtf happened? I finished a course, but I still can’t sit down and build something myself.

I feel like I am way, way behind. Someone with 10+ years of experience obviously has knowledge I am not going to catch up with anytime soon. I don’t need to reach their level, but I do want to get to a point where I can confidently write code, understand what I am doing, and figure things out without needing AI to walk me through every step.

The main issue is time. I can go back to books, take another course, and practice problems, but I am worried I’ll end up in the same place: understanding things while I am following along, then going blank when I have to do something on my own. And now, whenever I get stuck, there’s a prompt box right there. I can get working code quickly, but I can’t tell how much I am actually learning versus just getting the task done.

For those of you who’ve been in this position, do you have any suggestions? I feel like I am going around in circles.
Is there a practical way to learn Python with limited time while actually retaining enough to build things myself? (I know “build projects” is the best bet but still I wanna hear your thoughts)


Ask Anything Monday - Weekly Thread