title: beautifulsoup select method returns traceback
body: <p>well im still learning beautifulsoup module and im replcating this from the book automate the boring stuff with python i tried replcating the get amazon price script but i get a traceback on the .select() method 
  the error 'TypeError: 'NoneType' object is not callable'
   its getiing devastated with this error as i couldnt find much about it </p>
  
  <pre class="lang-py prettyprint-override"><code>import bs4
  import requests
  
  
  header = {'User-Agent': "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36"}
  
  def site(url):
  
      x = requests.get(url, headers=header)
      x.raise_for_status()
      soup = bs4.BeautifulSoup(x.text, "html.parser")
      p = soup.Select('#buyNewSection &gt; a &gt; h5 &gt; div &gt; div.a-column.a-span8.a-text-right.a-span-last &gt; div &gt; span.a-size-medium.a-color-price.offer-price.a-text-normal')
      abc = p[0].text.strip()
      return abc
  
  price = site('https://www.amazon.com/Automate-Boring-Stuff-Python-Programming/dp/1593275994')
  print('price is' + str(price))
  </code></pre>
  
  <p>it must return a list value containing the price but im stuck with this error</p>