Answer the question
In order to leave comments, you need to log in
How to get to the corresponding directory?
The row block contains two blocks with the same name col-xs-12. I need to get exactly
to the second block, and not to the first, how can I do this in python?
lis = soup.find('div', id='main').find('div', id='content').find('div', class_='row').find('div', class_='col-xs-12').find('div', class_='row')
<div class="row">
<div class="col-xs-12 hidden-xs">….
<div class="col-xs-12">………. # вот сюда надо зайти
</div>
Answer the question
In order to leave comments, you need to log in
Number the blocks with an additional name (col-xs-12-1, col-xs-12-2, col-xs-12-3). And then I think it's clear.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question