title: How to scrape google maps using python
body: <p>I am trying to scrape the number of reviews of a place from google maps using python. For example the restaurant Pike's Landing (see google maps URL below) has 162 reviews. I want to pull this number in python. </p>
  
  <p>URL:   <a href="https://www.google.com/maps?cid=15423079754231040967" rel="noreferrer">https://www.google.com/maps?cid=15423079754231040967</a></p>
  
  <p>I am not vert well versed with HTML, but from some basic examples on the internet I wrote the following code, but what I get is a black variable after running this code. If you could let me know what am I dong wrong in this that would be much appreciated. </p>
  
  <pre><code>from urllib.request import urlopen
  from bs4 import BeautifulSoup
  
  quote_page ='https://www.google.com/maps?cid=15423079754231040967'
  page = urlopen(quote_page)
  soup = BeautifulSoup(page, 'html.parser')
  price_box = soup.find_all('button',attrs={'class':'widget-pane-link'})
  print(price_box.text)
  </code></pre>