title: BeautifulSoup extract data within a div of divs
body: <p>I want to extract data from a ul and this ul is inside div and so on.I have done it with lxml but now i want to try it with beautiful soup</p>
  
  <pre><code>import requests
  from bs4 import BeautifulSoup
  
  headers = {'User-Agent': 'Mozilla/5.0'}
  
  url = "https://linkedin.com/company/1005"
  
  r = requests.get(url, headers=headers)
  print(r.text)
  
  soup = BeautifulSoup(r.text, 'html.parser')
  
  div = soup.find_all('div', class_="basic-info-description")
  print div
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/MN0RY.png" rel="nofollow"><img src="https://i.stack.imgur.com/MN0RY.png" alt="enter image description here"></a></p>