Skip to content

RodrigoRosmaninho/TimeTableParser-ua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TimeTableParser-UA

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

example_screenshot

Usage:

After cloning this repository, navigate to its directory, and run:

python3 parser.py
Optional arguments:

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)

Requirements:

Getting PACO Timetable URLs

  1. Go to https://paco.ua.pt/horariosweb/
  2. Pick your department, course, and curricular year
  3. Click on the link icon on the top of the screen to generate the url
  4. Rinse and repeat for all the desired urls

getting_url_screenshot


Available Formats:

  • .sttx
  • .json (coming soon)

About .sttx:

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.

Thanks:

About

Python tool for scraping any timetable page on the University of Aveiro's academic portal (PACO) and exporting it to different formats

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages