Can anyone show me what I am doing wrong here please? : I am trying to scrape tweets from twitter for a side project. 

Having difficulty with outputs.

Using latest version of pycharm. 





import urllib

import urllib.request

from bs4 import BeautifulSoup




theurl = "https://twitter.com/search?q=ghana%20and%20jollof&src=typed_query"

thepage = urllib.request.urlopen(theurl)


soup = BeautifulSoup(thepage, "html.parser")

i = 1

for tweets in soup.findAll('div', {"class":"css-901oao css-16my406 r-1qd0xha 

r-ad9z0x r-bcqeeo r-qvutc0"}):
    
    
    print (i)
    
    print (tweets.find('span').text)
    
    i = i+1
    
    print(tweets)


I do not receive any errors at all but there no outputs for the tweets.