I’m trying to get real-time currency exchange rates for 1 USD to KRW
To achieve this, I was hoping to urlfetch a google search result
shor url : https://bit.ly/2So7Acz
and hopefully, possible parse the following span class
< span class=“DFlfde SwHCTb” data-precision=“2” data-value=“1116.335”>1,116.34</ span>
to retrieve the data-value.
Can this be done?
$(eval try{a=$(urlfetch ★★★ https://bit.ly/2So7Acz);${parseFloat(a.data-value)}
;}catch(e){Error!
;})