How to download specific files after reading the csv file

Hello community!


I have uploaded 2 images one is of csv file which i have downloaded from website and one is i have stored the data in array which i want to download if it is available.

My problem is as you can see in date column there are yesterdays date and todays’s date,so i want that bot should download the data which is available in website after reading the input file…it should download the yesterdays date and today’s date… data from subject column.

Note that-Sometime there will be data and sometime there will be no data in excel…