Hello! I need to get a value from a website on a DAILY basis. Each day, the value changes and there’s only 1 class in the CSS that I need to scrape… and that is the <tabContent active>, in this example I need to show VALUE 2.
I tried:
select: “.tabContent.active”
select: “.tabContent.active em”
I couldn’t get it to work!
Could you please help? Below is the CSS
<div class=“tabContent”>
<header>
<h2 id=“p68” data-pid=“68”>Thursday, May 23</h2>
</header>
<p id=“p69” data-pid=“69” class=“val”><em>VALUE 1</em></p>
<div class=“bodyTxt”>
<div id=“section1” class=“section”>
<div class=“pGroup”>
<p id=“p70” data-pid=“70” class=“sb”>some description here…</p>
</div>
</div>
</div>
</div>
<div class=“tabContent active”>
<header>
<h2 id=“p71” data-pid=“71”>Friday, May 24</h2>
</header>
<p id=“p72” data-pid=“72” class=“val”><em>VALUE 2</p>
<div class=“bodyTxt”>
<div id=“section1” class=“section”>
<div class=“pGroup”>
<p id=“p73” data-pid=“73” class=“sb”>some description here…</p>
</div>
</div>
</div>
<div class=“tabContent”>
<header>
<h2 id=“p74” data-pid=“74”>Saturday, May 25</h2>
</header>
<p id=“p75” data-pid=“75” class=“val”>VALUE 3</em></p>
<div class=“bodyTxt”>
<div id=“section1” class=“section”>
<div class=“pGroup”>
<p id=“p76” data-pid=“76” class=“sb”>some description here…</p>
</div>
</div>
</div>
</div>