Beautiful Soup, how to effectively catch tags?

Is there a website rusprofil'.ru, do the parsing of the name.
url = 'https://www.rusprofile.ru/codes/561010/'
fio = soup.select('.company-item > .company-item-info > dl > dd')


The fact that it is not always the number of tags in each block are equal. Just one more, somewhere less.
In the end, the first page is parsed fine, but the results a couple of mistakes there because of the number of tags.
Then, the program opens the next page and now it is much more. Instead of the desired tags out completely different and in the end the mess.

Conclusion for the first page do this:
for i in range(0, len, 5):
print(fio[i].text)
names.append(fio[i].text)
 for j in range(5, len 6):
print(fio[j].text)
 names.append(fio[j].text)

For the first page fits on 98%, but when the page changes, it has 2% hit rate)))

Is there a more effective method of catching the desired tags?

An example of the site layout
<div class="company-item">
 <div class="company-item__title">
 <a href="/id/10612303"> "East" </a> 
</div>
 <div class="company-item-info">
<dl>
 <dt>CEO</dt>
 <dd>Titaev Alexander V.</dd>
</dl>
</div>
 <address class="company-item__text">
 603005, Nizhny Novgorod oblast, Nizhny Novgorod city, Piskunova street, house 14/5, room 8 
</address>
 <div class="company-item-info">
<dl>
<dt>INN</dt>
<dd>5260430967</dd>
</dl>
<dl>
<dt>bin</dt>
<dd>1165275042349</dd>
</dl>
<dl>
 <dt>registration date</dt>
 <dd>September 1, 2016.</dd>
</dl>
<dl>
 <dt>Authorized capital</dt>
 <dd>10 000.</dd>
</dl>
</div>
 <div class="company-item-info">
<dl>
 <dt>Main activity</dt>
 <dd>56.10.1 restaurants and cafe with full restaurant service, cafeterias, fast food restaurants and self-service</dd>
</dl>
</div>
</div>


To sum up: need to get name, tag number is not always equal, sometimes added or diminish any tags. So, if we look at an index like in my example, it will fail...
April 9th 20 at 09:37
1 answer
April 9th 20 at 09:39
Solution
Solved the problem a different conclusion.

fio = soup.select('.company-item-info')
len = len(soup.select('.company-item-info'))

for i in range(0, len, 3):
 print(fio[i].dd.text)

Find more questions by tags Beautiful SoupPython