When the loop passes, only the urls in the first page are deleted. In the rest of the pages everything remains.