How to put the contents of the class with bs4 in python?

In General, there is
class
<div class="fight-stats _enemy">
 <table width="100%" border="0" cellpadding="0" cellspacing="0" class="fight-stats-table">
<tbody>
 <tr valign="top">
 <td width="33%" align="center" valign="top">
 <div class="fight-stat" id="enemy-stat-strength">5</div>
 <div class="fight-stat-icon-strength"></div>
</td>
 <td width="33%" align="center" valign="top">
 <div class="fight-stat" id="enemy-stat-dexterity">1</div>
 <div class="fight-stat-dexterity icon"></div>
</td>
 <td width="33%" align="center" valign="top">
 <div class="fight-stat" id="enemy-stat-critical">10</div>
 <div class="fight-stat-critical icon"></div>
</td>
</tr>
</tbody>
</table>
 </div>

I need to put only 3 values
5e7299fc58b7f833819187.png

And put them into 3 variables: es, ed, ec.
Then in the end it was:
es = 5
ed = 1
ec = 10


I tried here
so
info = s.get('https://example/index.php?r=fights/choose&force=1&club=official', headers=headers)
 soup = bs(info.content, "lxml")
 es = soup.find(attrs={'class': 'fight-stat'})['enemy-stat-strength']
 print("strength:", es)

but I can not understand as correctly to write and nothing happened.
April 8th 20 at 18:08
1 answer
April 8th 20 at 18:10
Solution
As only html not see, can offer the following solution:
es = soup.find('div',id='enemy-stat-strength').text
ed = soup.find('div',id='enemy-stat-dexterity').text
ec = soup.find('div',id='enemy-stat-critical').text

print('strength:',es)
print('dexterity:',ed)
print('critical:',ec)

Find more questions by tags Beautiful SoupPython