I am afraid to write a python script that automatically captures the zip failure containing all my google calendars and saves it (as a backup) on my hard drive.
I use ClientLogin to get the authentication token (and I can successfully get the token).
Sorry, I canβt get the file at https://www.google.com/calendar/exporticalzip
It always asks me for credentials again, returning the login page as html (instead of zip).
Here's the critical code:
post_data = post_data = urllib.urlencode({ 'auth': token, 'continue': zip_url}) request = urllib2.Request('https://www.google.com/calendar', post_data, header) try: f = urllib2.urlopen(request) result = f.read() except: print "Error"
Any ideas or have done this before? Or an alternative idea how to backup all my calendars (automatically!)
source share