I have restored files from a corrupted SD card but it was a few years ago, consequently I cannot remember the exact procedure I used, but I recall that at least two different procedures worked.
I suggest you do what I did at the time (which allowed me to accomplish my objective successfully).
Use a SEARCH engine with search criteria something like "restore data from corrupted SD card", thus....
It worked for me...and you have absolutely nothing to lose.
A program with a name like "Photorec" rings a bell (the first hit on the link I gave you (above)).
Bookmarks