forked from Ugric/cov-to-ics
update readme.md
This commit is contained in:
15
README.md
15
README.md
@@ -2,3 +2,18 @@
|
||||
|
||||
Migrate the coventry university student timetable to an ics file
|
||||
|
||||
# Instructions
|
||||
|
||||
1. run `pip install -r requirements.txt`
|
||||
|
||||
2. if `calender.ics` exists already, rename it to `old_calender.ics`. This will allow the new calender file to update events from the old calender, and remove deleted events.
|
||||
|
||||
3. log into the coventry university timetable website, go into inspect element, go to the network tab and copy the response from the first request (refresh if no requests are showing up)
|
||||
|
||||

|
||||
|
||||
4. paste the response data into a file in the root of the repo called `response.txt`
|
||||
|
||||

|
||||
|
||||
5. run `main.py`, and you'll hopefully see `calender.ics` get created in the root folder of the repo :)
|
||||
BIN
images/step1.png
Normal file
BIN
images/step1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 119 KiB |
BIN
images/step2.png
Normal file
BIN
images/step2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 59 KiB |
5
requirements.txt
Normal file
5
requirements.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
beautifulsoup4==4.14.3
|
||||
bs4==0.0.2
|
||||
pytz==2025.2
|
||||
soupsieve==2.8.2
|
||||
typing_extensions==4.15.0
|
||||
Reference in New Issue
Block a user