Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. def doc = Jsoup.parse(text_page)
  2. def element = doc.select('td')
  3. def result = element.collect {it.text()}
  4. for (int i = 0; i < result.size(); i = i + 6){
  5. def link = element.select('ac|link')
  6. def user = link.select('ri|user').attr('ri:userkey')
  7. log.debug(link)
  8. log.debug(user)
  9. }
  10.  
  11. 2019-10-15 12:42:33,282 DEBUG [http-nio-8090-exec-8] [com.test.Page] call <ac:link>
  12. <ri:user ri:userkey="8a8981c16b6f32c1016b6f34632b0000" />
  13. </ac:link>
  14. <ac:link>
  15. <ri:user ri:userkey="8a8981c16bc295d4016bd15553dd005b" />
  16. </ac:link>
  17. 2019-10-15 12:42:33,284 DEBUG [http-nio-8090-exec-8] [com.test.Page] call 8a8981c16b6f32c1016b6f34632b0000
  18. 2019-10-15 12:42:33,284 DEBUG [http-nio-8090-exec-8] [com.test.Page] call <ac:link>
  19. <ri:user ri:userkey="8a8981c16b6f32c1016b6f34632b0000" />
  20. </ac:link>
  21. <ac:link>
  22. <ri:user ri:userkey="8a8981c16bc295d4016bd15553dd005b" />
  23. </ac:link>
  24. 2019-10-15 12:42:33,285 DEBUG [http-nio-8090-exec-8] [com.test.Page] call 8a8981c16b6f32c1016b6f34632b0000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement