I don't think it's a cookie; I'm logging in on another device then the one running the script. Anyway for now it seems to work again and since this is not a vital functionality for my system to work, I'ts fine for now
Passing the link to Curl results in the following: <html><head><title>Unauthorized</title></head><body><h1>401 Unauthorized</h1></body></html> This kinda makes sense since the urlib2.urlopen is not using an URL as input but a request object. The request object is created by the urlib2.request(my ...
Hi all, some time ago I've created a script to retrieve the sunset time from domoticz using JSON, apply some offset and then store the updated time again in domoticz using JSON. I'm using the NGINX webserver and redirect all traffic to HTTPS (as described in https://www.domoticz.com/wiki/Secure ...