Web scraper not getting data from table (Java) using Jsoup

66 Views Asked by At

I am working on a web scraper to gather stats from https://www.nba.com for a project, but my scraper is somehow not gathering data from the table, as the table says it has size 0 (makes it seem like its not getting the table at all).

Could someone let me know if I am doing something wrong and how to fix it?

My NBA scraper code

The inspect code from NBA.com

I tried to gather from table tbody.Crom_body__UYOcU and to make sure it worked, I checked the size. Should've been much more than 0 (50 or 100 I do not remember) but returned just 0 from size().

0

There are 0 best solutions below