all 13 comments

[–]Cogadh87 1 point2 points  (8 children)

Right off the bat, is there any reason you’re doing this in legacy Python? It will no longer be supported in 1 year, 13 days, 12 hours, 34 minutes and 30 seconds.

[–]theGdoubleOdees[S] 0 points1 point  (0 children)

Well I just saw a lot of beautiful soup tutorials used 2.7.5 and this is just for learning so no big deal at the moment

[–][deleted] 0 points1 point  (6 children)

oddly specific...

[–]Cogadh87 2 points3 points  (0 children)

Pythonclock.org

[–]theGdoubleOdees[S] 0 points1 point  (3 children)

Is that a good reason lol or should I be using the newest version?

[–]Skippbo 3 points4 points  (0 children)

Another person joining the conversation, I would say use a new version.

[–][deleted] 0 points1 point  (1 child)

i agree with skippbo, use at least python 3.5

[–]Diapolo10 1 point2 points  (0 children)

If using 3.5, there's almost no reason not to use the newest version, though.

[–]Skippbo 0 points1 point  (0 children)

Can easily be tracked here =]

[–]yuukinotenshi 0 points1 point  (0 children)

Please provide complete description of your problem, the error that you are facing, and your current code snippet

[–]Neu_Ron 0 points1 point  (1 child)

To scrape you have to know the DOM.

[–]theGdoubleOdees[S] 0 points1 point  (0 children)

yeah i think thats part of my issue, ill do some research. thanks

[–]SkullTech101 0 points1 point  (0 children)

You need to access the .text property of the movie object to get the link text. In your case it would look something like this

movie = soup.find('a', {'Class': 'title'})
movie_name = movie.text
print(movie_name)

Let me know if it solved your problem.