@b49P23TIvg - I'm reading into it now.
But for this, I've managed to get it to show
[<h2>Puppy One</h2>, <h2>Puppy Two</h2>, <h2>Puppy Three</h2>]
However, I haven't been able to get ride of the <h2> tags.
I know I'm suppose to return it in a JSON string to get the "" but I'm still trying to figure that part out.
Here's my code now.
page = BeautifulSoup(html)
puppy = page.findAll('h2')[:3]
I know this is probably a bad way to do it b/c if it was something longer with a lot of other tags, I would have problems, but for this, it works so I'll take it for now. I just need to figure out how to return it like this:
["Puppy One", "Puppy Two", "Puppy Three"]
@Joseph8th - I tried the .string as well as .text and extract() but I got errors for all of them which is really weird.
Do any of you know what I'm doing wrong?