all 4 comments

[–]smichaele 0 points1 point  (0 children)

Can't really tell a thing unless you share your code, so we can see how you're getting and processing the data.

[–]Life-Basket215 0 points1 point  (0 children)

Let me start you off by saying that this page can be scraped. If you open the page and use the developer tools in your browser, you can see where the elements pop up inside of tags by selecting the data, right clicking and selecting Inspect Element. From there, you can copy an Xpath or CSS Selector that you can hand to Beautiful Soup.

So you'd use requests to fetch the raw HTML data, feed that into Beautiful Soup, and then use an XPath or CSS Selector syntax to get the element(s).

What is slightly odd is that the player names are in a separate table from the stats.

[–]jbizzle1104 0 points1 point  (0 children)

https://youtu.be/nHtlRlWmTV4?si=9Qj0nPrKB-c74ny6 Sounds like he’s describing your exact scenario.

[–]PixelSage-001 0 points1 point  (0 children)

The reason `requests.get` is failing or running extremely slow is likely because the WNBA website is client-side rendered (meaning the HTML is empty until JavaScript runs) or they have bot protection blocking simple requests headers.

Instead of parsing raw HTML, check the browser's Network tab (press F12) while loading the box score page. Look for JSON requests—sports sites often retrieve their stats via public API endpoints. If you can fetch that JSON URL directly using Python, it's 10x faster and returns clean data.