Web extraction through Multiple links stored in CSV

I am trying to loop through various links in my csv, and extract structured data, I have been able to complete the process but while I am writing the range in my csv the second link’s extracted data is getting overwritten on the First link’s data, Is there a way around this?

May you will writing in for each
for first write use write range and from secondone use append range