Python tool for scraping any timetable page on the University of Aveiro's academic portal (PACO) and exporting it to different formats.
Particularly useful for use in software that helps you generate alternative timetables. Multiple timetables can be joined in one exported file, which helps people who have classes from different curricular years
After cloning this repository, navigate to its directory, and run:
python3 parser.py
If they are not specified the script will prompt you for the required values.
Argument | Function |
---|---|
-h, --help | Show help message |
-d dest | Specify destination filename |
-u [urls] | Specify all timetable urls separated by spaces |
-f format | specify desired output format (eg: sttx) |
- Go to https://paco.ua.pt/horariosweb/
- Pick your department, course, and curricular year
- Click on the link icon on the top of the screen to generate the url
- Rinse and repeat for all the desired urls
- .sttx
- .json (coming soon)
Format used by SmartTimeTable, a Java Swing app made by MIECT student Diogo Regateiro that generates all the permutations of possible timetables. Available for download here.