makisukurisu / rozklad-ontu-parser

Parser for data from rozklad.ontu
https://rozklad.ontu.edu.ua/
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Parse per-group info #3

Closed makisukurisu closed 1 year ago

makisukurisu commented 2 years ago

Blocked by #2.

Return a nice representation of schedule.

I see it as some object with methods to get some range of days, perhaps. Days should also be objects with pairs and pairs are objects with some data in them (Teacher, Auditory, Links, Files etc.)

We are OOP guys, are we not?

I'd suggest using something like a Dataclass (attrs library?) for objects.

makisukurisu commented 2 years ago

Block removed, started library like structure in this commit

Selenium seems to work pretty good, so I'll make some check to update nobots and something to keep track of session id/force to use same session until server gives up

makisukurisu commented 1 year ago

Done 🍿