Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
AlexisOlson
Super User
Super User

Is it possible to scrape tables generated by javascript into the query editor?

As a concrete example, lets say I want to load in the Standings table at the bottom of https://tcec.chessdom.com/

 

I'd like to load in Engine, # Games, Points, etc., but I can't figure out how. If you view the source for the page, you can deduce that that table is generated by some sort of Javascript. Something about "crosstable, "socket", "bootstrap" and various things I'm not familiar with.

 

If I attempt to load it in via Power Query > Get Data > Web > Add table using examples, that table doesn't appear anywhere in the Web view and I'm guessing it's because it's dynamically generated rather than part of the base HTML.

 

Is there a reasonable solution or workaround for this natively? If not, are there any nice R/Python scripts that would do the job?

2 REPLIES 2
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @AlexisOlson,

Based on my test, I am afraid you could not get the data table, I have tried with python, but this web is a dynamic web, it could not load the data and with this function in Power BI:

https://docs.microsoft.com/en-us/power-bi/desktop-connect-to-web-by-example

It also could not load the correct data. Or I suggest you ask the problem in python forum to get a further problem.

Hope it could help you.

 

 Regards,

Daniel He

 

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for trying. I guess I'll look into finding a python script I can embed in my M query.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.