title: Python Request Select() method - Selecting 'pre' Element
body: <p>Using Requests and BeautifulSoup to scrape a webpage. Can't seem to get the select() method to work in order to grab the text seen in HTML below. </p>
  
  <pre><code>&lt;head&gt;&lt;style type="text/css"&gt;&lt;/style&gt;&lt;/head&gt;
    &lt;body&gt;
      &lt;pre style="word-wrap: break-word; white-space: pre-wrap;"&gt;{
        "salePrice": 299.99
      }&lt;/pre&gt;
    &lt;/body&gt;
  </code></pre>
  
  <p>Tried the following with no luck, along with "#pre" and ".pre"</p>
  
  <pre><code>page = bs4.BeautifulSoup(res.text)
  elems = page.select("pre")
  </code></pre>
  
  <p>Any ideas?</p>
  
  <p>Thanks!</p>
  
  <p>*Edit: I can't edit the HTML as its being scrapped from another's webpage</p>