title: <Web Scraping python> Extract data in class href tag
body: <p>I want to use python / beautifulsoup scrap this site :
  <a href="http://www.ipeen.com.tw/search/all/000/0-100-0-0/%E4%B8%AD%E5%BC%8F/?adkw=%E5%8F%B0%E5%8C%97" rel="nofollow noreferrer">http://www.ipeen.com.tw/search/all/000/0-100-0-0/%E4%B8%AD%E5%BC%8F/?adkw=%E5%8F%B0%E5%8C%97</a></p>
  
  <p>Main question is how to extract "/shop/1057970-麻辣公館"
  from html  like this :</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;h3 class="name" id="shop_h3_"&gt;
  &lt;a class="a37 ga_tracking" data-action="ad_shop" data-category="search" data-label="店名" href="/shop/1057970-麻辣公館" target="_blank"&gt;麻辣公館&lt;/a&gt;
  &lt;span class="markVip"&gt;合作店家 &lt;a class="joinVip ga_tracking" data-action="ad_shop" data-category="search" data-label="如何刊登" href="http://www.ipeen.com.tw/ad/adipeen.php?id=b31149405ef268fe0b2dd035f450000e"&gt;(如何刊登？)&lt;/a&gt;&lt;/span&gt; &lt;/h3&gt;
  &lt;div class="serPic"&gt;
  &lt;div class="align"&gt;
  &lt;span&gt;&lt;/span&gt;
  &lt;a href="/shop/1057970-麻辣公館" target="_blank"&gt;&lt;img alt="麻辣公館" class="lazy" src="http://iphoto.ipeen.com.tw/photo/ipeen/140x140/vip/0/7/9/store_1057970/sp1057970_20160416132749762.jpg" title="麻辣公館"/&gt;&lt;/a&gt;
  &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>The one below is my code :</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>url ='http://www.ipeen.com.tw/search/all/000/0-100-0-0/%E4%B8%AD%E5%BC%8F/?adkw=%E5%8F%B0%E5%8C%97'
  opener=urllib.request.build_opener()
  opener.addheaders = [('User-agent', 'Mozilla/5.0')]
  page = opener.open(url)
  soup = BeautifulSoup(page)
  soup.find_all('a', {'class':"a37 ga_tracking"})</code></pre>
  </div>
  </div>
  </p>
  
  <p>Please give some possible ideas
  Thanks a lot !</p>