Extract the string from the element:
volume = soup.findAll("span", {"id": "volume"})[0].string
More Related Contents:
- UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\xa0′ in position 20: ordinal not in range(128)
- BeautifulSoup getting href [duplicate]
- Scraping: SSL: CERTIFICATE_VERIFY_FAILED error for http://en.wikipedia.org
- Difference between .string and .text BeautifulSoup
- Scraping Google Finance (BeautifulSoup)
- How to scrape a website which requires login using python and beautifulsoup?
- Python BeautifulSoup extract text between element
- How can I get href links from HTML using Python?
- Python/BeautifulSoup – how to remove all tags from an element?
- How to find tags with only certain attributes – BeautifulSoup
- Using BeautifulSoup to search HTML for string
- BeautifulSoup returns empty list when searching by compound class names
- Extract content of with BeautifulSoup
- python beautifulsoup iframe document html extract
- How to change tag name with BeautifulSoup?
- Beautifulsoup : Difference between .find() and .select()
- Can bs4 get the dynamic content of a webpage if requests can’t?
- Extract the ‘src’ attribute from an ‘img’ tag using Beautiful Soup
- Is there an InnerText equivalent in BeautifulSoup?
- BeautifulSoup – extracting attribute values
- BeautifulSoup: Get the contents of a specific table
- Scrape the absolute URL instead of a relative path in python
- How to find the comment tag with BeautifulSoup?
- Get document DOCTYPE with BeautifulSoup
- Clicking link using beautifulsoup in python
- BeautifulSoup: get css classes from html
- Beautiful Soup and Table Scraping – lxml vs html parser
- Using Python and BeautifulSoup (saved webpage source codes into a local file)
- Download all pdf files from a website using Python
- How to handle IncompleteRead: in python