apparently it is simple to solve your case, the published file always has the same name ... month-day-year ...
so I got the base of the link:
https://raw.githubusercontent.com/C...se_covid_19_data/csse_covid_19_daily_reports/
and add in it the name of the file formed by the month-day-year.csv
that way you will always download the file of the day, updated!
I try to download the file of the current date, if it does not exist, the app tries to download the one from the previous day, if it does not exist the app will try until the previous 5 days.