I have style component in html as shown below.
<style>
tr[data-row-company-id="27"] {
font-weight: 500;
}
tr[data-row-company-id="27"] a {
color: var(--ink-900);
}
</style>
I need to parse company-id which is 27 here. I am able to find style component as below
soup = BeautifulSoup(html, 'html.parser')
item=soup.find('style')
I am not sure how do I proceed ahead. Kindly provide solution.
Thanks .