v2

added recursive function to retrieve links.