You can't use IMPORTXML or IMPORTHTML function because the page is built on customer side by javascript and not on server side. Howerver, all datas are available in a big json that you can catch using :
var source = UrlFetchApp.fetch(url).getContentText()
var jsonString = source.match(/(?<=root.App.main = ).*(?=}}}})/g) + '}}}}'
var data = JSON.parse(jsonString)
and then you can navigate through the informations, and choose the ones you need. To get all datas from the json, use :
//mike steelson
let resultat = [];
function getDataFromYahoo(url) {
var source = UrlFetchApp.fetch(url).getContentText()
var jsonString = source.match(/(?<=root.App.main = ).*(?=}}}})/g) + '}}}}'
var data = JSON.parse(jsonString)
getAllData(1,eval(data),'data')
return resultat
}
function getAllData(niv,obj,id) {
const regex = new RegExp('[^0-9]+');
for (let p in obj) {
var newid = (regex.test(p)) ? id + '.' + p : id + '[' + p + ']';
if (obj[p]!=null){
if (typeof obj[p] != 'object' && typeof obj[p] != 'function'){
resultat.push([niv, newid, obj[p]]);
}
if (typeof obj[p] == 'object') {
if (obj[p].length){
resultat.push([niv, newid, '']);
}else{
resultat.push([niv, newid, '']);
}
niv+=1;
getAllData(niv, obj[p], newid );
niv-=1
}
}
}
}
https://docs.google.com/spreadsheets/d/1EKu4MbuwZ6OTWKvyIJrMfnXf7gXfU8TWU3jwV4XEztU/copy