Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

112
Vistas
Retrieve a .csv file via an URL with Node

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:

  • I download the summary file of my grades.
  • I compare it with an older file I downloaded
  • if a note is added I send a msg
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.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda