title: Using beautifulsoup get_text()
body: <p>I can parse the field that I need from a website with this code block:</p>
  
  <pre><code>response = requests.get(index_url)
  soup = bs4.BeautifulSoup(response.text, "lxml")
  poem = soup.select('div.siir p[id^=siir]')
  print poem
  </code></pre>
  
  <p>But it prints with HTML tags. I'm trying to use <code>get_text()</code> function. When I try to use like this:</p>
  
  <pre><code>print poem.get_text()
  </code></pre>
  
  <p>I get this error:</p>
  
  <pre><code>AttributeError: 'list' object has no attribute 'get_text'
  </code></pre>
  
  <p>I also tried to use like this:</p>
  
  <pre><code>poem = soup.select('div.siir p[id^=siir]').get_text()
  </code></pre>
  
  <p>I get same error again. How can I eliminate the HTML tags after I parse the correct field?</p>