Groovy Script to find the pages with links

Avatar

Avatar

umamaheswariy46

Avatar

umamaheswariy46

umamaheswariy46

11-02-2019

Hi Team,

Very new to the groovy.

I wanted to crawl all the pages in the site to get the links. 

Can anyone help me with that script?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281
Gaurav-Behl
MVP

12-02-2019

You could use third party tools for same. Check Xenu or similar -

Find broken links on your site with Xenu's Link Sleuth (TM)

Revert in case you still need groovy script..

Answers (1)

Answers (1)

Avatar

Avatar

Nikhil-Kumar

MVP

Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
MVP

16-08-2020

@umamaheswariy46 

I have set up Groovy console in my local and provided step by step to set it up at Groovy scripts in AEM