aboutsummaryrefslogtreecommitdiffstats
path: root/hyprsunset_qt/ui.py
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-07-17 11:28:26 +0200
committerDanilo M. <danix@danix.xyz>2026-07-17 11:28:26 +0200
commitb2517c9270382794b3ec5be73201590b4127d553 (patch)
treed0df4689f50b5dc435decc26e3aea2f7ffb532f9 /hyprsunset_qt/ui.py
parentade5d98c26da9e0e16685e181377d6c2d5cdf816 (diff)
downloadhyprsunset-qt-b2517c9270382794b3ec5be73201590b4127d553.tar.gz
hyprsunset-qt-b2517c9270382794b3ec5be73201590b4127d553.zip
fix: send User-Agent to avoid Cloudflare 403 on sun API
sunrise-sunset.org sits behind Cloudflare, which rejects the default Python-urllib User-Agent with 403 (error 1010). Send a normal UA in _http_get so fetch_sun and geolocate get through. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'hyprsunset_qt/ui.py')
0 files changed, 0 insertions, 0 deletions