Jsoup in aem



I want to get all the url/href used in a aem page .....so i thought to access it through jsoup but it is giving me all loginform 


document =jsoup.connect("http://ocalhost:4502/content/we-retail/en-us.html")


it means not able to login inside the aem 


I tried to create session object that also didnt work .


Please suggest what can be the best approch to do that ?


I need all urls/href used in an aem page need to create report .

whether its external llink or internal page link if it is in  an aem page i need it in my java ,...need to use for reporting 

Accepted Solutions (0)

Answers (0)