You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 years ago | |
---|---|---|
.gitignore | 4 years ago | |
README.md | 4 years ago | |
fetch.py | 2 years ago | |
hi3s.json.dist | 4 years ago |
README.md
Fetch servers version for HI3
Required
- Python 3
- A markdown document with
<!-- VER -->
and<!-- /VER -->
tags to mark where the table will be.
Also edit thefetch.py
with the correct path to your doc (the firstopen()
in the code).
Setup
pip3 install pytz semver requests
cp hi3s.json.dist hi3s.json
$EDITOR hi3s.json
Edit the version
key for each server to match the current version,
as this file might get largely outdated.
Run
Run a cron at least once every day. Don't run too frequently tho.
python3 fetch.py > cron.log 2>&1