Google search scrapper , Python
<p>I am new to Python and trying to make a Google search scrapper for the purpose of getting stock prices , but I run my code below I dont get any results instead I am getting the page HTML formatting.</p>

<pre><code>import urllib.request
from bs4 import BeautifulSoup

import requests

url = 'https://www.google.com/webhp?sourceid=chrome-instant&amp;ion=1&amp;espv=2&amp;ie=UTF-8#q=uwti'
response = requests.get(url)
html = response.content

soup = BeautifulSoup(html, "html.parser")

print(soup.prettify())
</code></pre>

<p>Am I missing something very simple , please give me some pointers on this . I am trying to extract the current stock value.How do I extract this value in the attached image ?</p>

<p><a href="https://i.stack.imgur.com/BSfxl.jpg" rel="nofollow"><img src="https://i.stack.imgur.com/BSfxl.jpg" alt="enter image description here"></a></p>

<p>Check out <code>Beautiful Soup's</code> <a href="https://www.crummy.com/software/BeautifulSoup/bs4/doc/#find-all" rel="nofollow">documentation</a> on how to select elements of the HTML document you just parsed you could try something like:</p>

<p><code>soup.findAll("span", ['_Rnb', 'fmob_pr, 'fac-l'])</code></p>

<p>The above method will find the span element that implements the classes in the list.</p>

<p>FYI: The stock price does not get fetched by the initial request from what I can see, use the <code>Inspect Element</code> feature of your browser to capture the requests sent, from what I can see there is a request to the url <code>https://www.google.gr/async/finance_price_updates</code>. Maybe this is used to fetched the price for the stock, see if you can sent requests to it directly rather than fetching the whole HTML.</p>

python parsing beautifulsoup urllib