Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting table from JavaScript
#3
Thanks.

Just one crucial point. Could you pls tell me why the same code doesnt work in the example below:

Macro Macro33
Code:
Copy      Help
out
HtmlDoc d
d.SetOptions(2)
;g1
d.InitFromWeb("http://www.imea.com.br/imea-site/indicador-milho")

rep 10 ;;wait for the javascript to finish
,1
,str s=d.GetHtml("tbody" "body-milho-disponivel")
,if(s.len) break
,out "waiting"
if(!s.len)
,out "RETRY"
,goto g1

out s


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)