Download Excel view with linux

Hi,
I seach for a way to download/import the Seatables-Excel file for my table via Linux in a command or via API instead of logging into the browser and downloading the file (my goal is to automatize this process so i can get the excel view directly to my server for processing, instead of downloading on windows and pulling it to my server manually each time)

I already made it almost fully working with selenium and pyvirtualdisplay, the problem remaining is that the xlsx, unlike with windows, is only downloaded as .part (something interrupts the download). Is there any way to do this via the Seaables API?

Best greetings

You find the complete API documentation at https://api.seatable.io.

The API call you are looking for is here.

It always responds with {
“detail”: “Invalid token”
}
even with the right token