Better readability for the fetch_urls function