Yahoo IM archive - global message save?

I’m in a situation where I need to do careful, extensive searches through about six months of Yahoo! IM sessions. The archive appears to allow for single session saving only. Does anyone here know of a convenient way of exporting quantities of archived messages in a single swoop, and preferably into a single flat file?

Edit: just to be clear, these are six months of my own chat sessions.