Anyone found a way to download google chat logs?

I'd like to be able to get all my Google chat logs so that I can use them for training a chat bot type of thing.

I am aware of the limitations that have been imposed by Google so that chats cannot be simply downloaded through IMAP. I'm looking for workarounds.

Answers


As of September 2011, Google removed the restriction on downloading chats. Google now allows export of chatlogs using IMAP.


It's not possible to download the chat logs unless they're attached to an email conversation - maybe you could fwd all of the logs that are held in your 'chats' folder and then download the conversations over IMAP or POP?


I recently had to do the same thing and coded a quick ruby script. http://9seats.com/2011/04/archiving-gmail-chat-logs-with-ruby/


If you're looking to make a program to do this, you could use a greasemonkey script and a local PHP server. The greasemonkey script would pick up chats as you visit them, parse them, and send them to the local PHP server, which could then dump it to a TXT, SQL, whatever. Contact me if you want some help, I might be interested in this, though I'll be on holidays the next months :)


Take a wander through the Google Talk API. And this may, or may not, help too: GMailAPI


If you know how to download a email. You can do the same to chat. Because chats are nothing but an email tagged with label chat. If you see chats, they are actually sent from the person you chatted with to you.


Need Your Help

CI not working locally

php .htaccess codeigniter

Instead of working live on my site I've decided to try and work locally and install new version later on my live site.

starting a UAC elevated process from a non-interactive service (win32/.net/powershell)

winapi uac shellexecute createprocessasuser

I'm using a thrid party Windows service that handles some automation tasks by running scripts and executables using CreateProcessAsUser(). I'm running into problems on Windows Server 2008 due to UA...