Added recursive URI retrieval for scraping