i want to extract a certain number from a site.
String1 : <font style="color:#EE6564;" >
112.674448 </font> handle <br/>
String2 : <font style="color:#EE6564;" >
60.90402 </font> handle <br/>
String3 : <font style="color:#EE6564;" >
51.770428 </font> handle <br/>
String4 : <font style="color:#EE6564;" >
182712 </font> handle <br/>
i want to get the value after String1 which is 112.674448 but i can’t seem to find a way.
i’ve tried
soup.findAll(text="String1 : ")
but that doesn’t find anything as well as
soup.findAll(text="String1")
First of all, you can give a unique ID to font Tag and then you can do something like :