got getURLs functionality working properly