I'm learning Web Scraping. I would like to know how can we fetch participants count from below element?
<li class="header-hero__stat header-hero__stat--participants">
::before
"255,590 Participants"
::after
</li>
Code I've tried
soupy = bs(html,'lxml')
ul = soupy.find('li',{'class':"header-hero__stats"})
returns None