This commit is contained in:
2025-09-08 09:49:49 +02:00
parent 1a69042b24
commit 27bb3be4af
8 changed files with 154 additions and 5 deletions

View File

@@ -0,0 +1,8 @@
#!/bin/bash
hub_dir="/home/hpr/hub"
for format in txt csv json xml
do
curl --silent --netrc-file /home/hpr/.netrc https://hub.hackerpublicradio.org/cms/stats.php?format=${format} --output ${hub_dir}/stats.${format}
done