title: How to select nested link with beautiful soup / robobrowser
body: <p>I'm experimenting with <a href="http://robobrowser.readthedocs.org/en/latest/readme.html" rel="nofollow">http://robobrowser.readthedocs.org/en/latest/readme.html</a>, a new python library based on the beautiful soup library. </p>
  
  <p>I have the following HTML:</p>
  
  <p>I have the following django view function</p>
  
  <pre><code>def index(request):    
  
      p=str(request.POST.get('p', False)) # eg. p='https://www.yahoo.com/'
      browser = RoboBrowser(history=True)
      postedmessage = browser.open(p)
      out = browser.select('span.select')
  
      return HttpResponse(postedmessage)
  </code></pre>
  
  <p>out yields:</p>
  
  <pre><code>&lt;span class="select"&gt;&lt;a href="/selector/1"&gt;select&lt;/a&gt;&lt;/span&gt;
  </code></pre>
  
  <p>But how do I select the inner  tag using beautiful soup?</p>