add more logging to epg-fetch.py and health.sh
This commit is contained in:
doms9 2026-01-27 19:21:28 -05:00
parent 6f01743391
commit 00000d947f
2 changed files with 68 additions and 48 deletions

View file

@ -14,6 +14,8 @@ get_status() {
[[ "$url" != http* ]] && return
for attempt in $(seq 1 "$RETRY_COUNT"); do
echo "Checking '$url'"
response=$(
curl -skL \
-A "$UA" \
@ -22,7 +24,7 @@ get_status() {
-H "Accept-Encoding: gzip, deflate, br" \
-H "Connection: keep-alive" \
-o /dev/null \
--max-time 15 \
--max-time 30 \
-w "%{http_code}" \
"$url" 2>&1
)