Curious to see if anyone here can help me do the following using wget or curl
Save my google analytics dashboard.
wget --random-wait referer="https://www.google.com/analytics/web/?pli=1#dashboard/hNEkO_IoQ4SJ0LRg97Oe3g/a7446206w53825497p54741424/" --load-cookies=/Users/ideaprison/Design/\(Sites\)/Salty\ Knuckles/stats/cookies.txt https://www.google.com/analytics/web/?pli=1#dashboard/hNEkO_IoQ4SJ0LRg97Oe3g/a7446206w53825497p54741424/ -O ~/stats.html
*No error in the log, file is saved.
I removed the attempts to use user-agent and header so i’m aware those might help the problem.
Basically what i get in return is a html doc which only has a small modal box in it that reads
Internal error. Please try again later.
Analytics has encountered an unexpected condition and cannot fulfill your request.
So clearly theyre onto me.
The cookies.txt only contains my login for the analytics (used empty firefox and logged in, exported the cookies using an addon)
Let me know your thoughts because I really want to make this work!
The reason why i need this is because google analytics is very limited and bothersome so i wrote some javascript to turn the html into a nice page
Example here: http://stats.saltyknuckles.net