I actually just made a little app yesterday that converts share urls into direct HTTP download URLs that are usable by cURL, etc. Not sure if this solves your problem:
just downloaded it the other day to search for old files from long ago and was barraged by popups, installers, and trying to get me to do 5 things at once. So confusing. I gave up searching for what I was looking for
It's really a user hostile interface and it's up there on my list of things to replace but not high enough that I've done anything about it.