I am trying to scrap a movie website here: http://www.21cineplex.com/nowplaying
I have uploaded the screenshot with the HTML body as the image in this questions.link to screenshot here I am having difficulty trying to grab the movie title and the description which is part of the <P>
tag. For some strange reason, the description is not part of requests object. Also when I tried to use soup to find the ul and class name it cannot be found. Anyone know why? I am using python 3. This is my code so far:
r = requests.get('http://www.21cineplex.com/nowplaying')
r.text (no description here)
soup = bs4.BeautifulSoup(r.text)
soup.find('ul', class_='w462') # why is this empty?
See Question&Answers more detail:os