title: How would i get this text alone?
body: <p>I'm trying to webscrape <a href="https://www.officialcharts.com/charts/uk-top-40-singles-chart/" rel="nofollow noreferrer">https://www.officialcharts.com/charts/uk-top-40-singles-chart/</a> and get all the titles.
  This is my code so far:</p>
  <pre><code>from urllib.request import urlopen as uReq
  from bs4 import BeautifulSoup as soup
  
  my_url = 'https://www.officialcharts.com/charts/uk-top-40-singles-chart/'
  
  #opening coonnection, grabbing page
  uClient = uReq (my_url)
  page_html = uClient.read()
  uClient.close()
  
  #html parsing
  page_soup = soup(page_html, &quot;html.parser&quot;)
  #print (page_soup.p)
  
  #grabs each section
  containers = page_soup.findAll('div' ,{&quot;class&quot;:&quot;title-artist&quot;})
  
  contain = containers[0]
  container = containers[0]
  </code></pre>
  <p>But I am currently at a stage where I need to get a title by its self. So far I've tried: container.div.a which has narrowed the html to:</p>
  <pre><code>&lt;a href=&quot;/search/singles/savage-love-(laxed---siren-beat)/&quot;&gt;SAVAGE LOVE (LAXED - SIREN BEAT)&lt;/a&gt;
  </code></pre>
  <p>I need to get the title &quot;SAVAGE LOVE (LAXED - SIREN BEAT)&quot; by itself but I am unsure on how to do that.
  I am using Spyder and Python 3.7
  Thank you! :)</p>