I'm trying to parse a specific content of a webpage in shell script.
I need to grep the content inside the <div> tag.
<div class="tracklistInfo">
<p class="artist">Diplo - Justin Bieber - Skrillex</p>
<p>Where Are U Now</p>
</div>
If I use grep -E -m 1 -o '<div class="tracklistInfo">', the resume is only <div class="tracklistInfo">
How can I access the Artist (Diplo - Justin Bieber - Skrillex) and how the title (Where Are U Now)?