Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9626

Unable to import table using importhtml importxml

$
0
0

I'm working on a little project to help practice with data extraction. I'm unfortunately having trouble scraping table data, as I'm struggling with the Xpath element on the 'Sheet5' worksheet:

https://www.gran-turismo.com/us/gtsport/user/profile/11497215/history/courseStatshttps://www.gran-turismo.com/us/gtsport/user/profile/11497215/history/driverStats

https://docs.google.com/spreadsheets/d/1V_Ph8-kLWq245sNp4yp3UymDSYSEEaRXpL2iEOKZoJE/edit#gid=1589833610

I've tried the following with no luck:=importxml("https://www.gran-turismo.com/us/gtsport/user/profile/11497215/history/courseStats","//table[@class='QDs3Xj']")

=importxml("https://www.gran-turismo.com/us/gtsport/user/profile/11497215/history/courseStats","//table[@class='QDs3Xj']/div/div/div[2]/div[2]/div[2]/div[2]")

Can anyone help, as I look forward to learning more?

Thanks!


Viewing all articles
Browse latest Browse all 9626

Trending Articles