Import web data from a HTML span tags into google sheets

21 views
Skip to first unread message

alexmbg

unread,
Jul 28, 2016, 8:03:02 PM7/28/16
to Google Visualization API
How do I import a span tag  containing the data-reactid attribute?

I'm trying to import analyst "Low", "Average", and "High" target prices of a certain stock into a google sheet.

The span tags show as follow:

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=".w4qp01hrsq.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>


Thanks.
Reply all
Reply to author
Forward
0 new messages