Home > Software engineering >  Beautiful Soup doesn't extract the number of the website, just the formula
Beautiful Soup doesn't extract the number of the website, just the formula

Time:10-30

In this enter image description here

CodePudding user response:

It appears to be some sort of Angular application, which means that the value is rendered on the client side. BeautifulSoup probably retreives the html from the server, which includes the angular javascript without it being executed (since that is done at the client).

You could use a headless browser to load the data for you and scrape the values from there.

  • Related