I wonder why can i not scrape twitter profiles with python beautiful soup.
from bs4 import BeautifulSoup
import requests
import urllib3
url = "https://twitter.com/Microsoft"
r = requests.get(url)
bs = BeautifulSoup(r.content, 'lxml')
match = bs.find_all('span')
match contains a single element containing the following text
Something went wrong, but don’t fret — let’s give it another shot.
I can't fathom why is this happening, is it because twitter stopped allowing web scrapers to scrape it's content ? Any solution would be appreciated .