- Tue Apr 05, 2016 1:43 am
#44843
Yes, version 2.0 Alpha 7 working with wget() function partially.
I am trying to extract twitter followers number with this url : query.yahooapis.com/v1/public/yql?q=select * from html where url='http://twitter.com/ArvindKejriwal' and xpath="//li[contains(@class,'ProfileNav-item--followers')]/a/span[@class='ProfileNav-value']"
It displays error message : HTTP/1.1 400 Unknown Version Content-Length: 0 Date: Tue, 05 Apr 2016 05:50:33 GMT Age: 0 Server: ATS Connection: keep-alive
I have used following code:
let dblqt = chr(34)
let myurl1 = "query.yahooapis.com/v1/public/yql?q=select * from html where url='http://twitter.com/ArvindKejriwal' and "
let myurl2 = ""
myurl2 = "xpath=" & dblqt
myurl2 = myurl2 & "//li[contains(@class,'ProfileNav-item--followers')]/a/span[@class='ProfileNav-value']"
myurl2 = myurl2 & dblqt
button "Go URL TW" [GoURL-TW]
[GoURL-TW]
myurl1 = myurl1 & myurl2
wprint wget(myurl1)
wprint myurl1
wait