This is not a selenium solution but you can make a request for the service in python and grabbing the content-disposition response header. That will be the name of your download file.
There is a chance the request will get blocked so you might need to play around with request headers to get around that.