portail/scripts/generate.sh
2019-08-22 09:32:26 +08:00

15 lines
375 B
Bash

#!/bin/sh
pip3 install -r ./scripts/requirements.txt
# idees
wget -O ./site/data/idees.json https://idees.crapaud-fou.org/stats.php
# wiki
wget -O ./site/data/wiki.json https://wiki.crapaud-fou.org/stats.php
# tube
wget -O ./site/data/tube.json https://tube.crapaud-fou.org/feeds/videos.json?sort=-publishedAt&filter=local
# chat
python3 ./scripts/generate_chat_info.py