Created a separate method for fetching URLs, with a .puts on failure