<span class="sim-posted">
<span class="jobs-status covid-icon clearfix">
<i class="covid-home-icon"></i>Work from Home
</span>
<span>Posted few days ago</span>
</span>
I want to scrape last span tag with text "Posted few days ago" I have the code but its only scraping the first span with class
date_published=job.find('span',class_='sim-posted').span.text