modifies the whole code to just except a list of url and download the content, generalized for evry type of content