html код здесь
Я написал свой код так:
html_source = driver.page_source
soup = BeautifulSoup(html_source, 'lxml')
feed_root= soup.find('div', id="feed-root")
oneday_today = feed_root.find_all('div', class_="_1950o")
grades_today = feed_root.find_all('div', class_="_29Z79")
for oneday in oneday_today:
print(oneday.text.split())
for grades in grades_today:
print(grades.text.split())
Я хочу получить результат какэто:
class_="_1950o" SOME_text
class_="_29Z79" SOME_text
class_="_29Z79" SOME_text
class_="_29Z79" SOME_text
class_="_1950o" SOME_text
class_="_29Z79" SOME_text
class_="_29Z79" SOME_text
class_="_29Z79" SOME_text