title: Extracting a specific list item using Beautiful Soup
body: <p>I am working on a web scraper project using Python and Beautiful Soup. Please have look at the HTML code section which I am having trouble with. Since all the <code>&lt;li&gt;</code> items in the <code>&lt;ul&gt;</code> have the same class names for <code>&lt;div&gt;</code> and <code>&lt;span&gt;</code>, how can I extract the phone number i.e value of second <code>&lt;span&gt;</code> in the third <code>&lt;li&gt;</code> item?  </p>
  
  <p>I can extract the <code>&lt;ul&gt;</code> tag and its contents using <code>ad_soup.find("ul",{"class":"Menu"})</code>, but I do not know how to proceed after that. Any help would be highly appreciated.</p>
  
  <pre><code>&lt;ul class="Menu"&gt;
    &lt;li&gt;
      &lt;div class="item"&gt;
        &lt;span class="name"&gt;Name:&lt;/span&gt;
        &lt;span class="value"&gt;....&lt;/span&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;div class="item"&gt;
        &lt;span class="name"&gt;Location:&lt;/span&gt;
        &lt;span class="value"&gt;....&lt;/span&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;div class="item"&gt;
        &lt;span class="name"&gt;Phone:&lt;/span&gt;
        &lt;span class="value"&gt;....&lt;/span&gt;
      &lt;/div&gt;
    &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>