I have some HTML like:
<div class='cl1'>
<div class='cl2'>text_1</div>
<div class='cl3'>
<div class='cl2'>text_2</div>
</div>
</div>
I need to find any items of cl2 class that have cl1 as parent, so i need to get text_1 but not text_2. In simple css it should be like this:
'div.cl1>div.cl2'
but I use robobrowser and BeautifulSoup, and when I try
soup.select('div.cl1>div.cl2')
it says that css selector is wrong.