Skip to content
Advertisement

how to get height and ‘X’ value from react tag using BeautifulSoup?

I am trying to get the bar graph height and value of x from this site https://www.sofascore.com/football/livescore

Here is what I want to do:
Here is what I want to do

Here is what I am getting
my Output

here is my code

JavaScript

Advertisement

Answer

There’s an api to get that. Just input the event ID.

JavaScript

Output:

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement