Forum Discussion
AAB : You are getting error at Line no. 17 because there is a syntax error with '(inverted commas). Correct it and i think error will get resolved.
- AAB4 years agoRegular Contributor
Hello HimanshuTayal
Thanks for your response. Sorry for the delay. It did indeed solve the problem.
But the loop doesn't work. Could you fix this please? I think I need a "sleep" in or a counter somehow. I would suggest to put the counter on 5 max. Can you help me with that?
Thanks in advance
AboveAndBeyond.
- HimanshuTayal4 years agoCommunity Hero
AAB : Just looked at your XML it's a html file and i don't think XMLSlurper will be able to extract data out of it.
In getNodeValue you are giving href data which is not a node. So in order to get data from the HTML response you need to think of any other logic on how you can fetch data out of HTML.