dynamically fetch each url from the main url.