title: Requests not returning html tags
body: <p>I am trying to scrape YouTube with requests and beautiful soup. I need to get the number of views. It is contained in a div tag with class="watch-view-count" but sometimes the request object won't have the tag I am looking for. How to ensure that the request object has the tag that I am looking for.</p>
  
  <pre><code>import requests
  from bs4 import BeautifulSoup
  markup = requests.get('https://www.youtube.com/watch?v=eSb1_lHcSsg').text
  soup = BeautifulSoup(markup.text,'html.parser')
  views = soup.findAll('div',{ "class":"watch-view-count"})
  </code></pre>
  
  <p>Sometimes the variable markup won't have any div tag with class=watch-view-count instead it mostly contains javascript code.</p>