The UniFab Changelog Watcher is a Python-based tool designed to watch UniFab for updates, parse the changelogs and send them to a Discord webhook.
-
Clone the repository:
git clone https://github.com/clientinfo/unifab-changelog-watcher.git cd unifab-changelog-watcher -
Install dependencies:
pip install -r requirements.txt
-
Configure the script:
- Update the
URLandWEBHOOK_URLvariables inchangelog_watcher.pywith the actual URLs.
- Update the
-
Run the script (Note: to close the program press ctrl + c):
python main.py
This module implements the UniFabChangelogWatcher class, which monitors the update page of UniFab, parses the update changelog and sends the data to a Discord webhook.
This Module has the class DiscordNotifier which formats and sends the data to a specified Discord channel.
This module handles fetching, parsing, saving, and loading changelog data from HTML and JSON files. The ChangelogParser class uses requests for fetching HTML content and BeautifulSoup for parsing it.
This module defines the Color class that provides ANSI escape sequences for color formatting in terminal outputs.

