google expects a valid user agent to deliver the ics file

Added test if downloaded file is a ics file
This commit is contained in:
2023-02-21 22:53:12 +01:00
parent 331aa8e253
commit fbd1b543eb
2 changed files with 7 additions and 1 deletions

View File

@@ -5,6 +5,7 @@
local icsconf_url="https://somethi.ng"
local icsconf_output="${HOME}/my.ics"
local icsconf_useragent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0"
# icsError
# Called if the download from ${icsconf_url} failed