Python Selenium Headless download

I'm trying to download a file with selenium. I've searched everything. At How to control the download of files with Selenium Python bindings in Chrome some people told that it worked. But it didn't