P粉5461798352023-08-31 11:03:25
I've checked your site and it uses JavaScript to open a new window on that button and download your CSV file. In your case the actual URL is:
https://maalaei97-test2.hf.space/media/c721b14394345aab14989004e9ce8a3bae6fbb02a8e8d6a41a4f5401.csv?title=app%20%C2%B7%20Streamlit
I think you can download it using urllib
and GET
requests. If you want to click the link using Python, you need to run the JavaScript code.