Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def doc = Jsoup.parse(text_page)
- def element = doc.select('td')
- def result = element.collect {it.text()}
- for (int i = 0; i < result.size(); i = i + 6){
- def link = element.select('ac|link')
- def user = link.select('ri|user').attr('ri:userkey')
- log.debug(link)
- log.debug(user)
- }
- 2019-10-15 12:42:33,282 DEBUG [http-nio-8090-exec-8] [com.test.Page] call <ac:link>
- <ri:user ri:userkey="8a8981c16b6f32c1016b6f34632b0000" />
- </ac:link>
- <ac:link>
- <ri:user ri:userkey="8a8981c16bc295d4016bd15553dd005b" />
- </ac:link>
- 2019-10-15 12:42:33,284 DEBUG [http-nio-8090-exec-8] [com.test.Page] call 8a8981c16b6f32c1016b6f34632b0000
- 2019-10-15 12:42:33,284 DEBUG [http-nio-8090-exec-8] [com.test.Page] call <ac:link>
- <ri:user ri:userkey="8a8981c16b6f32c1016b6f34632b0000" />
- </ac:link>
- <ac:link>
- <ri:user ri:userkey="8a8981c16bc295d4016bd15553dd005b" />
- </ac:link>
- 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