I have the following html code:
<div class='article'>
<p>Lorem <strong>ipsum</strong> si ammet</p>
</div>
So to get the text data as: Lorem ipsum si ammet, so I tried to use:
response.css('div.article >p::text ').extract()
But I only receive only lorem sie ammet.
How can I get both <p> and <strong> texts using CSS selectors?