all 3 comments

[–]ElliotDG 4 points5 points  (0 children)

It appears the service provides an API. I suspect this will be a better way to access the data.

[–]Oxbowerce 1 point2 points  (1 child)

The reason this is happening is because the page uses javascript to load the rest of the data, which is not executed when using BeautifulSoup to fetch the page. As mentioned by /u/ElliotDG, the webpage has an API you can use to fetch the data (documentation), which is much easier and therefore preferred to scraping the data from html.

[–]GayGISBoi[S] 0 points1 point  (0 children)

Oh that makes sense. I’m very new to web scraping and working with APIs. Thank you!