I am trying to get the amount of chapters in this manga using BeautifulSoup but the way it's contained is making it confusing:
[The Section]https://gyazo.com/c45fef82b0ce52dacd99d213538ab570)
I only want the Chapter number and not the content of the other divs. Currently I have (not the full code):
[The Website]https://www.anime-planet.com/manga/the-beginning-after-the-end
chp = []
temp = soup.select('section.pure-g entryBar > div.pure-1 md-1-5')
for txt in temp:
if "Ch" in txt.text:
chp.append(txt.text)
How would I access the text within the first div?