Why did I used Selenium instead of beautiful soup? Because we can't enable javascript in beautifulSoup and Twitter needs javascript to create the page and get tweets.