- Install the dependencies using the the pip command
- You will need chromdriver to run the application using selenium. Download here
- Make sure you edit the chrome driver path in both the scripts.
- You will also need to edit the Google Profile Path. Example path mentioned in the scripts
- Because of captcha, you will first need to login to OCS. To do this run the script with any args(like literally any)
- Then run the script without any args and you should see events getting added to your apple calendar.
pip install -r requirements.txt
python3 create_event.py 10
python3 ceate_event.py
python3 apply_deadlines.py 10
python3 apply_deadlines.py
OCS-Scripts
│
└───create_event.py
│
└───apply_deadlines.py
│
└───chromedriver-mac-arm64
│
└───chromedriver.exe
After running the command, your calendar should look like this:
![Screenshot 2024-09-25 at 7 00 16 PM](https://private-user-images.githubusercontent.com/96828194/370734085-ff4d8c34-4984-4908-a69b-9ddd69188841.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk4MTcwMjIsIm5iZiI6MTczOTgxNjcyMiwicGF0aCI6Ii85NjgyODE5NC8zNzA3MzQwODUtZmY0ZDhjMzQtNDk4NC00OTA4LWE2OWItOWRkZDY5MTg4ODQxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE3VDE4MjUyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM4OTQ2ZjJkMDBiMjdjZTkwODgwMTk5ZjU4ODIwZjZjOTUxZWZiYWIyZmFhZTRiZDJiOGQ2N2U0ODQ2NzNlZjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.YLwOIa-dPrIzMDYQKtBAOUUrnUF8UDX7hrJn5gS_EFs)