Skip to content

Antrubtor/Pegasus-Update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

EPITA Pegasus Discord Notifications

This project allows you to have notifications on Discord when you have new notes on pegasus, the EPITA notes system.

Installation

To get started, ensure you have BeautifulSoup installed. Use the following command with pip:

pip install beautifulsoup4

To facilitate the initialization of the program you can install browser-cookie3 but this is not a mandatory.

pip install browser-cookie3

Usage

  1. First run "setup.py" to create the files (tokens.json / pegasus.html) necessary for "pegasus_update.py" to work.
    • The cookie has an expiration date, so you may need to relaunch setup.py every few months
  2. Then try to run the pegasus_update.py script, you should receive "No new grade" with your Discord webhook.
  3. If everything works correctly you can now place the repository files on your VPS to run it in a loop (every 30 minutes for example).

Contributing

Contributions are welcome! Feel free to fork the repository and submit a pull request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages