I'm with the following problem with a scrapper, I have the following code
$text = get_content_of_element($html, 'div', 'class', 'text');
and the site where I need to read the data has the following structure
<div class="text">
<div style="estilos declarados">
<div style="imagen aca"></div>
<div><h3 style="font:18px arial, sans-serif; font-weight:bold; padding:10px 0;">Overview</h3></div>
<div>recien aca el texto que quiero leer</div><br>
<div>texto que me gustaria eliminar</b></a></div>
<div></div></div>
Can you think of a way to read the information I need? can you pass as a parameter that you read just the 5th div? and in that case also within the text can I erase the "div" 6º?
Thank you very much in advance