title: Python get text from <a> tag
body: <p>I have a list of web-pages that I'm looping through. My goal is to get text from each of these web-pages IF there is something. I'm looking for certain -tag elements that have same className. First part (looping) is working perfectly but for some reason i'm getting only value [None] while printing this -tags text. </p>
  
  <p>here is what i'm doing:</p>
  
  <pre><code>jotain = []
  col = 3
  for row, urls in enumerate(links):
      page = requests.get(urls)
      soup = BeautifulSoup(page.content, 'html.parser')
      sposti = soup.find('a', {'class' : '_contactLink_1i8pl_1'})
      jotain.append(sposti)
      print(jotain.text)
  
  sheet.write(row, col, sposti)
  </code></pre>
  
  <p>It returns me: "AttributeError: 'list' object has no attribute 'text'"</p>
  
  <p>And this is how the html looks like:</p>
  
  <pre><code>&lt;a class="_contactLink_1i8pl_1" href="mailto:info@talligym.fi"&gt;info@talligym.fi&lt;/a&gt;
  </code></pre>
  
  <p>Thanks for help in advance!</p>