I’ve been trying to get through this tutorial:
and I’m stuck on importing BeautifulSoup
When I put in the next line of code in the tutorial:
soup = BeautifulSoup(page.content, ‘html.parser’) it just comes up with a NameError.
How do I import BeautifulSoup? I’ve tried from bs4 import BeautifulSoup and that doesn’t work. I’ve tried other tutorials on this and I always get stuck on this and I’ve never been able to figure out what I’m doing wrong.