Hi I am trying to scrape a website.
I need to get some data from tag div data-name='dashboard-champ-content'.
r = requests.get(url, headers=headers)
soup = BeautifulSoup(r.text, "lxml")
for i in soup.find_all('div')["dashboard-champ-content"]:
print(i) # it`s not working
So, how can i do it?enter code here