title: Using Beautifulsoup and Urllib2 in Python, how can I find the data surrounded by specific tags?
body: <p>As an introduction to BeautifulSoup and Urllib2, I thought that I would make a basic scraping program which gets information about a given player in a video game website called lolking.net. Each user has a scrambled URL that does not include their username, so I would have to scrape the URL extension of the player from the HTML of the site in order to be able to access their user page.</p>
  
  <p>Here is an example string which I might encounter:</p>
  
  <pre><code>&lt;div class="search_result_item" onclick="window.location='/summoner/na/26670961'; return false;"&gt;&lt;div style="display: table-cell; text-align: center; padding: 10px 10px 16px;"&gt;&lt;div style="font-size: 14px; display: block;"&gt;
  </code></pre>
  
  <p>I need to extract the bit of numbers after the <code>/summoner/na/</code> part. How would I do that?</p>