Answer the question
In order to leave comments, you need to log in
I do not understand how to make a Parser with this criterion?
Hello, please tell me how to solve my problem. I need to take a numeric value from this code:
<td>
<span class="xb1_color font-weight-bold">
2.16M
<img alt="c" class="small-coins-icon" src="/design/img/coins_bin.png">
</span>
</td>
Answer the question
In order to leave comments, you need to log in
I do not pretend to the correctness of my answer, but still put in my two cents. Using selenium, I found the desired element and copied it into a variable like this:
some_var = driver.find_element_by_xpath('Сам xpath').text
Here's some good BS4 documentation and that's exactly what you need
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question