Web Scraping Python (beautifulSoup and Requests)

I am learning web scraping using python but I can’t get the desired result. Below is my code and the output

code

.
>>> import bs4,requests
>>> url = "https://twitter.com/24x7chess"
>>> r = requests.get(url)
>>> soup = bs4.BeautifulSoup(r.text,"html.parser")
>>> soup.find_all("span",{"class":"account-group-inner"})
[]
>>> 

Here is what I was trying to scrape

But I keep getting an empty array. Please help
@cpradio

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.