title: soup.find() always returns None, beautifullsoup web scraping
body: <p>I'm new to web scraping and don't understand why my code doesn't work ^^'
  No matter what data I try to find in twitch, soup.find() and soup.find_all() returns &quot;None&quot; or an empty array, but when I print all the data print(soup) it works (&amp; I'm sure that the elements I search exist on the page). So I don't understand what's going wrong.. I had the same issue on another project it was due to my parser &quot;html.parser&quot; that I replaced by &quot;lxml&quot; and it worked! But it doesn't work for this one. Here is my code hopefully you can see where the problem comes from :)</p>
  <pre><code>from bs4 import BeautifulSoup
  
  URL = 'https://www.twitch.tv'
  
  headers = {
      &quot;User-Agent&quot;: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36'
      }
  
  page = requests.get(URL, headers=headers)
  
  soup = BeautifulSoup(page.content, &quot;lxml&quot;)
  
  #print(soup.prettify())
  
  offline = soup.find('a', {'class':'side-nav-card__link'})
  spans = soup.find_all('a')
  
  for span in spans:
      print(span)
  
  print(offline)
  </code></pre>
  <p>PS: I know there is a twitch API that I can use to do the same job, but just want to practice web scraping + if you have other web scraping project ideas feel free to suggest them ^.^</p>