I build a bot that as soon as a note is added on my online bulletin notifies me on Whatsapp. (I use twilio, the message part works).
The principle of operation is as follows:
New note in GI ANUM Numerical analysis
-> 14,19
Recap of the UE M1 Sciences de l'information et mathematiques :
Average UE : 11,53
EU Rank : 26
GI ANUM Numerical Analysis : 14,19
Max group : 16,36
Group Min : 8,19
Rank : 8
GI AUTO2 Continuous Systems Automation : 9,4
Group Max: 18.9
Group Min: 0
Rank: 34
The code works if I upload the files by hand.
My concern is with the retrieval of the CSV file. There is an option on the site, when you click on it it opens a download window and downloads the file.
I tried with fecth(), changing the default options... Nothing works, I always get a 404 error.
I suspect that fetch is not suitable but I can't find anything equivalent that would allow me to do this.
Do you have any idea how to solve my problem?
PS: The rule about the originating URL of the link in question is: strict-origin-when-cross-origin. I don't know if this changes anything or not.