Software Developer at Lara AI
nmigueles / siga-scraper Goto Github PK
View Code? Open in Web Editor NEWTool to retrieve information from the SIGA FRBA UTN website.
License: MIT License
Tool to retrieve information from the SIGA FRBA UTN website.
License: MIT License
Software Developer at Lara AI
Actualmente en desarrollo.
scrapeHistorialConsolidado() : Promise<RowEntry[]>,
Returns: RowEntry[]
// Response RowEntry example.
interface Acta {
sede: string;
libro: string;
folio: string;
nota?: number;
}
interface RowEntry {
tipo: string; // 'Cursada' | 'Final';
estado: string;
plan: string; // Nombre del plan, ejemplo O95A (civil) o K08 (sistemas).
courseId: string; // Id del curso interno del SIGA
nombre: string; // Nombre del curso
year: number; // Año de la cursada
periodo: string; // Identificador del periodo
fecha: string; // DD/MM/AAAA
acta: Acta | null;
}
En el caso de:
notas
, ya que eso le corresponde al método scrapeNotas
y además nunca se devuelve nada en dicha propiedad.Cuando el SIGA se cae, que suele pasar, el scraper falla por todos lados, con errores muy diferentes. Por lo cual es dificil de debugear errores que no se refieren a la salud directa del sitio.
Documentar como se establecen los índices para los días.
dia: [2 , 3]
Fix: Siempre devolver Array. Aunque tenga un solo elemento.
Method scrapeActasDeFinales() : Promise<ActaFinal[]>
http://siga.frba.utn.edu.ar/alu/acfin.do
interface ActaFinal {
fecha: string;
courseId: string;
nombre: string;
libro: string;
folio: string;
nota: number;
}
// Ejemplo
[{
fecha: '29/11/2018',
courseId: '950702',
nombre: 'Análisis Matemático I',
libro: 'XX000',
folio: '66',
nota: 10
}, ...]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.