Hi there, please advise if this post doesn't belong here.
I'd like to import analyst price targets for a a certain stocks (Low, Average and High; 85.00, 123.63 and 185.00 respectively). The data is in yahoo finance (new UI) and is coming through SPAN tags with the custom attribute "data-reactid" as follows:
Low: <span data-reactid=".tykswaj054.1.$0.0.0.3.1.$main-0-Quote-Proxy.$main-0-Quote.0.2.1.$priceTargets.$legend.0.2">85.00</span>
Average: <span data-reactid=".tykswaj054.1.$0.0.0.3.1.$main-0-Quote-Proxy.$main-0-Quote.0.2.1.$priceTargets.$slider.3.0.2">123.63</span>
High: <span data-reactid=".tykswaj054.1.$0.0.0.3.1.$main-0-Quote-Proxy.$main-0-Quote.0.2.1.$priceTargets.$legend.1.2">185.00</span>
Since these tags have the data-reactid attribute I can't use the usual formula {IMPORTHTML(url, query, index)} to import HTML data from a table into Gsheets.
Your help is appreciated,
AB