blob: 33ee97cc40488d354229a5a04f0a1326732fc4c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# kasulu
Choose your lectures and check the timetable
This project is composed of a crawler that can retrieve course and
teacher data from webuntis at THA Augsburg.
From the huge number of courses only the courses mentioned
in wp.py which are derived from the "Wahlpflichtfächer" for
"Technische Informatik" are compiled into a "kurse.json" file.
That is then displayed in the frontend. Only one week is shown in the
calendar.
### Install the Crawler dependencies
```
cd crawl
python3 -m venv venv_crawl
source venv_crawl/bin/activate
pip install selenium requests
```
### Run the crawler
```
cd crawl
source venv_crawl/bin/activate
python3 crawl.py
python3 analyze.py
pyhton3 wp.py
```
Crawls and produces "kurse.json"
### Test the frontend
```
cd kasulu
python3 -m http.server 8000
```
Open a browser with "localhost:8000" and check the results
|