I am starting coding for myself and I am blocked on a code line. Can you provide me some explications ?
I want to scrape informations from this div tag :
role = experience1_div('span', {'class' : 'mr1 t-bold'}) print(role)
Output :
[<span class="mr1 t-bold"> <span aria-hidden="true"><!-- -->Automation Engineer - Intern<!-- --></span><span class="visually-hidden"><!-- -->Automation Engineer - Intern<!-- --></span> </span>]
How can I get only the HTML text : "Automation Engineer - Intern"
I tried this function .get_text().strip() but it seems that the span tag is blocking my function....