summaryrefslogtreecommitdiffstats
path: root/tests/test_sun.py
AgeCommit message (Collapse)AuthorFilesLines
27 hoursfix: send User-Agent to avoid Cloudflare 403 on sun APIDanilo M.1-2/+17
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>
28 hoursfeat: geolocate and sunrise-sunset fetchDanilo M.1-1/+23
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
29 hoursfeat: sun UTC-to-local conversion and cacheDanilo M.1-0/+21
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>