beautiful soup just get the value inside the tag

Extract the string from the element:

volume = soup.findAll("span", {"id": "volume"})[0].string

Leave a Comment