Rscript -e 'u<-"https://query1.finance.yahoo.com/v8/finance/chart/%5EGSPC?period1=1262304000&period2=1656633600&interval=1d";j<-paste(readLines(u,warn=F),collapse="");p<-regexpr(paste0(intToUtf8(34),"timestamp",intToUtf8(34),":["),j,fixed=T);cat(nchar(j),p,substr(j,p,p+100))'