Create Operator or Output with Groovy
My Problem is quite simple:
I want to load a Webpage with Groovy in a Text-Operator (i.e. Document) and then extract certain attributes (e.g. all <li>-Texts).
Now I can fetch the HTML from a page with
Can somebody give me a hint?
I want to load a Webpage with Groovy in a Text-Operator (i.e. Document) and then extract certain attributes (e.g. all <li>-Texts).
Now I can fetch the HTML from a page with
But the Script Operator does not return anything to the output, even when I use the "return" from Groovy.
"http://rapid-i.com".toURL().text
Can somebody give me a hint?